[Python-Dev] bsddb test case deadlocks fixed
Barry Warsaw
barry at python.org
Tue Nov 4 08:34:43 EST 2003
On Tue, 2003-11-04 at 07:55, Anthony Baxter wrote:
> At the very least, the test suite should pass on the 23 branch. It currently
> hangs or crashes on many/most platforms I've tried it on. If this is because
> the test suite is doing multi-threaded things and that Just Won't Work, then
> the test suite should be fixed.
Not for me. Works fine on RH9, except for a crash in test_re.
-Barry
======================================================================
FAIL: test_bug_418626 (__main__.ReTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_re.py", line 409, in test_bug_418626
self.assertRaises(RuntimeError, re.search, '(a|b)*?c', 10000*'ab'+'cd')
File "/home/barry/projects/python23/Lib/unittest.py", line 295, in failUnlessRaises
raise self.failureException, excName
AssertionError: RuntimeError
======================================================================
FAIL: test_stack_overflow (__main__.ReTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_re.py", line 418, in test_stack_overflow
self.assertRaises(RuntimeError, re.match, '(x)*', 50000*'x')
File "/home/barry/projects/python23/Lib/unittest.py", line 295, in failUnlessRaises
raise self.failureException, excName
AssertionError: RuntimeError
----------------------------------------------------------------------
More information about the Python-Dev
mailing list