[Python-checkins] r75577 - python/branches/py3k/Lib/test/test_threading.py

antoine.pitrou python-checkins at python.org
Wed Oct 21 00:05:38 CEST 2009


Author: antoine.pitrou
Date: Wed Oct 21 00:05:38 2009
New Revision: 75577

Log:
Another futile error in the previous commit :-(



Modified:
   python/branches/py3k/Lib/test/test_threading.py

Modified: python/branches/py3k/Lib/test/test_threading.py
==============================================================================
--- python/branches/py3k/Lib/test/test_threading.py	(original)
+++ python/branches/py3k/Lib/test/test_threading.py	Wed Oct 21 00:05:38 2009
@@ -321,7 +321,7 @@
             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):


More information about the Python-checkins mailing list