diff options
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_threading.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index 60ddf20..cc83476 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -321,7 +321,7 @@ class ThreadTests(unittest.TestCase): stderr=subprocess.PIPE) stdout, stderr = p.communicate() self.assertEqual(stdout, b"Woke up, sleep function is: <built-in function sleep>\n") - stderr = re.sub(br"^\[\d+ refs\]", "", stderr, re.MULTILINE).strip() + stderr = re.sub(br"^\[\d+ refs\]", b"", stderr, re.MULTILINE).strip() self.assertEqual(stderr, b"") def test_enumerate_after_join(self): |