Skip to content

Conversation

@gpshead
Copy link
Member

@gpsheadgpshead commented May 5, 2025

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.

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.
@gpsheadgpshead added the tests Tests in the Lib/test dir label May 5, 2025
@gpsheadgpshead requested a review from pablogsalMay 5, 2025 04:16
@gpsheadgpshead enabled auto-merge (squash) May 5, 2025 04:17
@gpsheadgpshead merged commit c4cc5d5 into python:mainMay 5, 2025
44 checks passed
@vstinner
Copy link
Member

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

Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
…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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_external_inspection fails on Ubuntu

2 participants

@gpshead@vstinner