[Python-checkins] r75576 - in python/branches/py3k: Lib/test/test_threading.py
antoine.pitrou
python-checkins at python.org
Wed Oct 21 00:02:30 CEST 2009
Author: antoine.pitrou
Date: Wed Oct 21 00:02:29 2009
New Revision: 75576
Log:
Merged revisions 75574 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75574 | antoine.pitrou | 2009-10-20 23:59:25 +0200 (mar., 20 oct. 2009) | 4 lines
Test wouldn't work in debug mode.
We probably need a function in test_support to handle this.
........
Modified:
python/branches/py3k/ (props changed)
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:02:29 2009
@@ -321,6 +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()
self.assertEqual(stderr, b"")
def test_enumerate_after_join(self):
More information about the Python-checkins
mailing list