GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [GH-133419] fix test_external_inspection race assert by gpshead · Pull Request #133422 · python/cpython

Conversation

@gpshead

@gpshead gpshead commented May 5, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

either line could be where the inspection finds the foo() function as after ready is sent, the process may not have made progress onto the next line yet. "solve" by putting the statements on the same line. simpler than asserting for multiple possible line values.

Fixes #133419.
Closes #133419.

  • Issue: test_external_inspection fails on Ubuntu #133419

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@gpshead
[tests] fix test_external_inspection race assert
b3a42cc
either line could be where the inspection finds the foo()
function as after ready is sent, the process may not have made progress
onto the next line yet.  "solve" by putting the statements on the same
line.
@gpshead gpshead added the tests Tests in the Lib/test dir label May 5, 2025
@gpshead
gpshead requested a review from pablogsal May 5, 2025 04:16
@bedevere-app bedevere-app Bot mentioned this pull request May 5, 2025
test_external_inspection fails on Ubuntu #133419
Closed
@bedevere-app bedevere-app Bot added the awaiting core review label May 5, 2025
@gpshead gpshead added the skip news label May 5, 2025
@gpshead
gpshead enabled auto-merge (squash) May 5, 2025 04:17
@gpshead
gpshead merged commit c4cc5d5 into python:main May 5, 2025
@bedevere-app bedevere-app Bot removed the awaiting core review label May 5, 2025
@vstinner vstinner mentioned this pull request May 5, 2025
test_external_inspection: test_async_remote_stack_trace fails intermittently #133425
Closed
@vstinner

vstinner commented May 5, 2025

Copy link
Copy Markdown
Member

This change doesn't fix all tests, it's incomplete. I wrote #133433 to fix more tests.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
@gpshead @Pranjal095
[pythonGH-133419] fix test_external_inspection race assert (python#13…
7e21f87
…3422)

[tests] fix test_external_inspection race assert

either line could be where the inspection finds the foo()
function as after ready is sent, the process may not have made progress
onto the next line yet.  "solve" by putting the statements on the same
line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@pablogsal pablogsal Awaiting requested review from pablogsal

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

test_external_inspection fails on Ubuntu

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@gpshead @vstinner
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.