Another futile error in the previous commit :-(

This commit is contained in:
Antoine Pitrou 2009-10-20 22:05:38 +00:00
parent be03eec2e6
commit 6a354d7e08
1 changed files with 1 additions and 1 deletions

View File

@ -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):