File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 - id : isort
1616 additional_dependencies : [toml]
1717 - repo : https://github.com/asottile/pyupgrade
18- rev : v3.19.1
18+ rev : v3.20.0
1919 hooks :
2020 - id : pyupgrade
2121 args : [--py38-plus]
Original file line number Diff line number Diff line change @@ -456,16 +456,4 @@ def test_pth_handling():
456456
457457 # When the .pth file is processed, the full standard library should be
458458 # 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