Commit 2d56f9a7 authored by Antoine Pitrou's avatar Antoine Pitrou

Another futile error in the previous commit :-(

parent be5bbc00
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment