This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_bsddb3 fails when run directly
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: barry Nosy List: barry, lemburg
Priority: normal Keywords:

Created on 2003-01-08 19:28 by lemburg, last changed 2022-04-10 16:06 by admin. This issue is now closed.

Messages (2)
msg13944 - (view) Author: Marc-Andre Lemburg (lemburg) * (Python committer) Date: 2003-01-08 19:28
This is Python CVS of 2003-01-08:

projects/Python> pythondev
Dev-Python/Lib/test/test_bsddb3.py
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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)]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Traceback (most recent call last):
  File "Dev-Python/Lib/test/test_bsddb3.py", line 67, in ?
    unittest.main(defaultTest='suite')
  File
"/home/lemburg/projects/Python/Installation/lib/python2.3/unittest.py",
line 710, in __init__
    self.parseArgs(argv)
  File
"/home/lemburg/projects/Python/Installation/lib/python2.3/unittest.py",
line 737, in parseArgs
    self.createTests()
  File
"/home/lemburg/projects/Python/Installation/lib/python2.3/unittest.py",
line 743, in createTests
    self.module)
  File
"/home/lemburg/projects/Python/Installation/lib/python2.3/unittest.py",
line 509, in loadTestsFromNames
    suites.append(self.loadTestsFromName(name, module))
  File
"/home/lemburg/projects/Python/Installation/lib/python2.3/unittest.py",
line 494, in loadTestsFromName
    test = obj()
  File "Dev-Python/Lib/test/test_bsddb3.py", line 44,
in suite
    module = __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.
msg13945 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2003-01-24 17:48
Logged In: YES 
user_id=12800

I believe this has been fixed in current 2.3cvs.
History
Date User Action Args
2022-04-10 16:06:07adminsetgithub: 37743
2003-01-08 19:28:22lemburgcreate