diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2009-10-20 22:05:38 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2009-10-20 22:05:38 (GMT) |
commit | 6a354d7e08f183e000c0b7cbfd60224e8db16b2b (patch) | |
tree | c670e24efdb0b1a47106b7ad20a52c2ae32e4142 /Lib/test/test_threading.py | |
parent | be03eec2e6ca3e2cb98e63f9bf2d6a12aa5b6d7b (diff) | |
download | cpython-6a354d7e08f183e000c0b7cbfd60224e8db16b2b.zip cpython-6a354d7e08f183e000c0b7cbfd60224e8db16b2b.tar.gz cpython-6a354d7e08f183e000c0b7cbfd60224e8db16b2b.tar.bz2 |
Another futile error in the previous commit :-(
Diffstat (limited to 'Lib/test/test_threading.py')
-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): |