summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-10-20 22:05:38 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-10-20 22:05:38 (GMT)
commit6a354d7e08f183e000c0b7cbfd60224e8db16b2b (patch)
treec670e24efdb0b1a47106b7ad20a52c2ae32e4142 /Lib/test
parentbe03eec2e6ca3e2cb98e63f9bf2d6a12aa5b6d7b (diff)
downloadcpython-6a354d7e08f183e000c0b7cbfd60224e8db16b2b.zip
cpython-6a354d7e08f183e000c0b7cbfd60224e8db16b2b.tar.gz
cpython-6a354d7e08f183e000c0b7cbfd60224e8db16b2b.tar.bz2
Another futile error in the previous commit :-(
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_threading.py2
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):