[Python-Dev] bsddb test case deadlocks fixed

Alex Martelli aleaxit at yahoo.com
Tue Nov 4 08:38:32 EST 2003


On Tuesday 04 November 2003 02:34 pm, Barry Warsaw wrote:
> 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.

Doesn't look like a crash but rather a failure I already discussed:

> ======================================================================
> 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

The bug that this is testing for has gone away: the re engine doesn't
stack overflow on this any more.  The tests have been updated in 2.4
but not on the 2.3 branch.  I mentioned that and asked whether I should
just update the 2.3 tests, but apparently the concept is that this should
rather be done by whoever fixed the bug, instead (or during the backport
phase to prepare 2.3.3).

Same, apparently, for the other test-failure you mention.


Alex




More information about the Python-Dev mailing list