mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-09 19:30:29 +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]
|
stdout = p.communicate()[0]
|
||||||
executable = stdout.strip().decode("ASCII")
|
executable = stdout.strip().decode("ASCII")
|
||||||
p.wait()
|
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):
|
def check_fsencoding(self, fs_encoding, expected=None):
|
||||||
self.assertIsNotNone(fs_encoding)
|
self.assertIsNotNone(fs_encoding)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue