summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-10-20 22:02:29 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-10-20 22:02:29 (GMT)
commitbe03eec2e6ca3e2cb98e63f9bf2d6a12aa5b6d7b (patch)
tree316fa8abe4537170436d5b1687267d3976667e87 /Lib
parent810a80ab6451a7173b168c89feb73f04329f2852 (diff)
downloadcpython-be03eec2e6ca3e2cb98e63f9bf2d6a12aa5b6d7b.zip
cpython-be03eec2e6ca3e2cb98e63f9bf2d6a12aa5b6d7b.tar.gz
cpython-be03eec2e6ca3e2cb98e63f9bf2d6a12aa5b6d7b.tar.bz2
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. ........
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_threading.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
index 2e4f645..60ddf20 100644
--- a/Lib/test/test_threading.py
+++ b/Lib/test/test_threading.py
@@ -321,6 +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()
self.assertEqual(stderr, b"")
def test_enumerate_after_join(self):