[Python-Dev] test failures on Debian unstable (original) (raw)

Tim Peters tim.one@comcast.net
Sat, 23 Nov 2002 22:02:10 -0500


[Neil Schemenauer]

test testanydbm crashed -- exceptions.AttributeError: 'module' object has no attribute 'error' test testbsddb crashed -- exceptions.AttributeError: 'module' object has no attribute 'btopen' test teststrptime failed -- Traceback (most recent call last): File "/home/nas/Python/pycvs/Lib/test/teststrptime.py", line 156, in testreturningRE self.failUnless(strptime.strptime("1999", strpoutput), "Use or re object failed") File "/home/nas/Python/pycvs/Lib/strptime.py", line 399, in strptime if format.pattern.find(localetime.lang) == -1: TypeError: expected a character buffer object test testwhichdb failed -- Traceback (most recent call last): File "/home/nas/Python/pycvs/Lib/test/testwhichdb.py", line 48, in testwhichdbname f = mod.open(fname, 'c') AttributeError: 'module' object has no attribute 'open'

198 tests OK. 4 tests failed: testanydbm testbsddb teststrptime testwhichdb

The db story is something of a mess right now. Upgrade to Windows and you can take advantage of my recent pain there (which hasn't all gone away: still getting link warnings, don't know whether they matter or how to stop them if they do, and can't make more time to stare at it).

18 tests skipped: testal testbsddb3 testbz2 testcd testcl testcurses testdbm testemailcodecs testgl testimgfile testnis testnormalization testpep277 testsocketssl testsocketserver testsunaudiodev testwinreg testwinsound 4 skips unexpected on linux2: testnormalization testdbm testbz2 testbsddb3

test_normalization should probably be changed to a -u thing, and put in regrtest's "expected skip" list on all platforms (it requires a giant text file of test cases that isn't checked into the project).

test_bz2 was likely skipped because the new bz2 stuff isn't being built on this box, and/or bunzip2 wasn't found on the PATH.

test_bsddb3 is already in already a regrtest -u thingie, so should be in the expected-skip list on all boxes.