[ python-Bugs-865120 ] bsddb test_all.py - incorrect
SourceForge.net
noreply at sourceforge.net
Wed Jun 16 18:44:35 EDT 2004
Bugs item #865120, was opened at 2003-12-23 11:42
Message generated for change (Comment added) made by greg
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=865120&group_id=5470
Category: Extension Modules
Group: None
>Status: Closed
>Resolution: Fixed
>Priority: 4
Submitted By: Shura Zam (debil_urod)
>Assigned to: Gregory P. Smith (greg)
Summary: bsddb test_all.py - incorrect
Initial Comment:
bsddb\test\test_all.py
raise exception,
bat all other tests work correct.
======Command Line=======
c:\>python c:\Python\Lib\bsddb\test\test_all.py
======Output============
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Sleepycat Software: Berkeley DB 4.1.25: (December 19,
2002)
bsddb.db.version(): (4, 1, 25)
bsddb.db.__version__: 4.2.0
bsddb.db.cvsid: $Id: _bsddb.c,v 1.17.6.2
2003/09/21 23:10:23 greg Exp $
python version: 2.3.2 (#49, Oct 2 2003, 20:02:00)
[MSC v.1200 32 bit (Intel)]
My pid: 2012
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Traceback (most recent call last):
File "C:\Lang\ActiveState\Python\Lib\bsddb\test\test_all.
py", line 81, in ?
unittest.main(defaultTest='suite')
File "C:\Lang\ACTIVE~1\Python\lib\unittest.py", line
720, in __init__
self.parseArgs(argv)
File "C:\Lang\ACTIVE~1\Python\lib\unittest.py", line
747, in parseArgs
self.createTests()
File "C:\Lang\ACTIVE~1\Python\lib\unittest.py", line
753, in createTests
self.module)
File "C:\Lang\ACTIVE~1\Python\lib\unittest.py", line
519, in loadTestsFromNames
suites.append(self.loadTestsFromName(name,
module))
File "C:\Lang\ACTIVE~1\Python\lib\unittest.py", line
504, in loadTestsFromName
test = obj()
File "C:\Lang\ActiveState\Python\Lib\bsddb\test\test_all.
py", line 69, in suite
alltests.addTest(module.suite())
AttributeError: 'module' object has no attribute 'suite'
----------------------------------------------------------------------
>Comment By: Gregory P. Smith (greg)
Date: 2004-06-16 15:44
Message:
Logged In: YES
user_id=413
typo in test_all.py, a fix was committed to HEAD in march:
revision 1.4
date: 2004/03/16 07:07:06; author: greg; state: Exp;
lines: +1 -1
bugfix for people executing test_all to run the test suite.
(call the
correct function)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=865120&group_id=5470
More information about the Python-bugs-list
mailing list