mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-07 02:10:27 +00:00
fix weird test flake in sys
This commit is contained in:
parent
86ddfa2cee
commit
f8b56b74e3
1 changed files with 1 additions and 1 deletions
2
third_party/python/Lib/test/test_sys.py
vendored
2
third_party/python/Lib/test/test_sys.py
vendored
|
@ -667,7 +667,7 @@ class SysModuleTest(unittest.TestCase):
|
|||
stdout = p.communicate()[0]
|
||||
executable = stdout.strip().decode("ASCII")
|
||||
p.wait()
|
||||
self.assertIn(executable, ["b''", repr(sys.executable.replace("//", "/").encode("ascii", "backslashreplace"))])
|
||||
self.assertIn(executable, ['', repr(sys.executable.replace("//", "/").encode("ascii", "backslashreplace"))])
|
||||
|
||||
def check_fsencoding(self, fs_encoding, expected=None):
|
||||
self.assertIsNotNone(fs_encoding)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue