File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change 15
15
- id : isort
16
16
additional_dependencies : [toml]
17
17
- repo : https://github.com/asottile/pyupgrade
18
- rev : v3.19.1
18
+ rev : v3.20.0
19
19
hooks :
20
20
- id : pyupgrade
21
21
args : [--py38-plus]
Original file line number Diff line number Diff line change @@ -456,16 +456,4 @@ def test_pth_handling():
456
456
457
457
# When the .pth file is processed, the full standard library should be
458
458
# available. Check if the initialization process could import socket.
459
- if sys .platform == "android" or hasattr (sys , "getandroidapilevel" ):
460
- # Android is known to have an issue with .pth/sys.path ordering that
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
- if pth_tester .has_socket :
465
- pytest .fail ("Android .pth handling bug has been resolved." )
466
- else :
467
- pytest .xfail (
468
- "On Android, .pth files are processed before sys.path is finalized."
469
- )
470
- else :
471
- assert pth_tester .has_socket
459
+ assert pth_tester .has_socket
You can’t perform that action at this time.
0 commit comments