[Python-bugs-list] [ python-Bugs-664581 ] test_bsddb3 fails when run directly

SourceForge.net noreply@sourceforge.net
Fri, 24 Jan 2003 09:48:05 -0800


Bugs item #664581, was opened at 2003-01-08 14:28
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=664581&group_id=5470

Category: Python Library
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: M.-A. Lemburg (lemburg)
Assigned to: Barry A. Warsaw (bwarsaw)
Summary: test_bsddb3 fails when run directly

Initial Comment:
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.


----------------------------------------------------------------------

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-01-24 12:48

Message:
Logged In: YES 
user_id=12800

I believe this has been fixed in current 2.3cvs.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=664581&group_id=5470