Barry A. Warsaw wrote: >>>>>>"MvL" =3D=3D Martin v L=F6wis <martin@v.loewis.de> writes: >=20 >=20 > MvL> I would personally expect that the bsddb3 test passes if > MvL> Sleepycat BSD DB is installed on the system (which should be > MvL> the case on most Linux systems), and the bsddb resource is > MvL> activated when running regrtest. >=20 > Actually, there are two bsddb tests. The first one, test_bsddb, is > exceedingly simple and always runs. The second, misnamed test_bsddb3 > is the full test suite from PyBSDDB and only runs when the bsddb > resource is enabled. Ah, now I get it: you have to run regrtest.py -u bsddb in order for the test to run. In that case, I'd opt for marking the test_bsddb3 test as expected skip. Hmm, if I run the test manually, I get: projects/Python> pythondev Dev-Python/Lib/test/test_bsddb3.py -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001) bsddb.db.version(): (4, 0, 14) bsddb.db.__version__: 4.1.1 bsddb.db.cvsid: $Id: _bsddb.c,v 1.3 2002/12/30 20:53:52 bwarsaw Exp= $ python version: 2.3a1 (#1, Jan 6 2003, 02:03:16) [GCC 2.95.3 20010315 (SuSE)] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D Traceback (most recent call last): File "Dev-Python/Lib/test/test_bsddb3.py", line 67, in ? unittest.main(defaultTest=3D'suite') File "/home/lemburg/projects/Python/Installation/lib/python2.3/unittes= t.py", line 710, in __init__ self.parseArgs(argv) File "/home/lemburg/projects/Python/Installation/lib/python2.3/unittes= t.py", line 737, in parseArgs self.createTests() File "/home/lemburg/projects/Python/Installation/lib/python2.3/unittes= t.py", line 743, in createTests self.module) File "/home/lemburg/projects/Python/Installation/lib/python2.3/unittes= t.py", line 509, in loadTestsFromNames suites.append(self.loadTestsFromName(name, module)) File "/home/lemburg/projects/Python/Installation/lib/python2.3/unittes= t.py", line 494, in loadTestsFromName test =3D obj() File "Dev-Python/Lib/test/test_bsddb3.py", line 44, in suite module =3D __import__("bsddb.test."+name, globals(), locals(), name) ImportError: No module named test.test_associate Looking at the installed bsddb package, there is no subpackage 'test' in there. It is available in the source tree, though. --=20 Marc-Andre Lemburg CEO eGenix.com Software GmbH _______________________________________________________________________ eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,... Python Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4