[ZODB-Dev] Problems testing ZODB3-3.3a3 having ZODB3-3.2 installed

Rodrigo Senra rodsenra at gpr.com.br
Wed May 5 10:06:20 EDT 2004


 Hi,

 I found some problems running 'python test.py' from ZODB3-3.3a3 
 while having ZODB3-3.2 already installed. The exception raised is
 transcripted below.

 To circumvent the problem I manually removed ZODB2 packages from
 python2.3/site-packages (is there a automatic way to do this?) and
 run 'python test.py' once more. Then it was fine! (Ran 1317 tests in 245.831s)

 I know this is a development version, but is this the expected behaviour ?
 
 Nevertheless, I'd like to thank you all for this wonderful tool.
 best regards,
 Rod Senra


[rodrigo at Fenix ZODB3-3.3a3]$ python test.py
Running unit tests from /usr/local/src/python/ZODB3-3.3a3/build
Traceback (most recent call last):
  File "/usr/local/src/python/ZODB3-3.3a3/test.py", line 874, in ?
    process_args()
  File "/usr/local/src/python/ZODB3-3.3a3/test.py", line 864, in process_args
    bad = main(module_filter, test_filter, libdir)
  File "/usr/local/src/python/ZODB3-3.3a3/test.py", line 635, in main
    runner(files, test_filter, debug)
  File "/usr/local/src/python/ZODB3-3.3a3/test.py", line 572, in runner
    s = get_suite(file)
  File "/usr/local/src/python/ZODB3-3.3a3/test.py", line 489, in get_suite
    return suite_func()
  File "/usr/local/src/python/ZODB3-3.3a3/build/lib.linux-i686-2.3/transaction/tests/test_util.py", line 22, in test_suite
    return DocTestSuite('transaction.util')
  File "/usr/local/lib/python2.3/doctest.py", line 1343, in DocTestSuite
    module = _normalize_module(module)
  File "/usr/local/lib/python2.3/doctest.py", line 1194, in _normalize_module
    module = __import__(module, globals(), locals(), ["*"])
  File "/usr/local/src/python/ZODB3-3.3a3/build/lib.linux-i686-2.3/transaction/util.py", line 27, in ?
    class NoSavepointSupportRollback:
  File "/usr/local/src/python/ZODB3-3.3a3/build/lib.linux-i686-2.3/transaction/util.py", line 43, in NoSavepointSupportRollback
    implements(IRollback)
TypeError: 'module' object is not callable

-- 
Rodrigo Senra                 
MSc Computer Engineer     rodsenra at gpr.com.br  
GPr Sistemas Ltda       http://www.gpr.com.br 




More information about the ZODB-Dev mailing list