From f8b56b74e3e26aa8351c3584ff889d316120fe55 Mon Sep 17 00:00:00 2001 From: ahgamut <41098605+ahgamut@users.noreply.github.com> Date: Fri, 27 May 2022 08:02:26 +0530 Subject: [PATCH] fix weird test flake in sys --- third_party/python/Lib/test/test_sys.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/python/Lib/test/test_sys.py b/third_party/python/Lib/test/test_sys.py index d92f05107..7952e546d 100644 --- a/third_party/python/Lib/test/test_sys.py +++ b/third_party/python/Lib/test/test_sys.py @@ -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)