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: bsddb test_all.py - incorrect
Type: Stage:
Components: Extension Modules Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: gregory.p.smith Nosy List: debil_urod, gregory.p.smith
Priority: low Keywords:

Created on 2003-12-23 19:42 by debil_urod, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg19481 - (view) Author: Shura Zam (debil_urod) Date: 2003-12-23 19:42
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'
msg19482 - (view) Author: Gregory P. Smith (gregory.p.smith) * (Python committer) Date: 2004-06-16 22:44
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)
History
Date User Action Args
2022-04-11 14:56:01adminsetgithub: 39731
2003-12-23 19:42:51debil_urodcreate