We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3d96cf commit adf3eb1Copy full SHA for adf3eb1
1 file changed
tests/test_common.py
@@ -461,10 +461,9 @@ def test_pth_handling():
461
# causes this test to fail. For now, accept this as an XFAIL; if it
462
# passes, fail as an indicator that the bug has been resolved, and we
463
# can simplify the test.
464
- try:
465
- assert pth_tester.has_socket
+ if pth_tester.has_socket:
466
pytest.fail("Android .pth handling bug has been resolved.")
467
- except AssertionError:
+ else:
468
pytest.xfail(
469
"On Android, .pth files are processed before sys.path is finalized."
470
)
0 commit comments