From: Antoine Pitrou Date: Tue, 20 Oct 2009 22:05:38 +0000 (+0000) Subject: Another futile error in the previous commit :-( X-Git-Tag: v3.2a1~2356 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6a354d7e08f183e000c0b7cbfd60224e8db16b2b;p=thirdparty%2FPython%2Fcpython.git Another futile error in the previous commit :-( --- diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index 60ddf2063672..cc83476d0ce3 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: \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):