[Zope3-dev] Re: [Zope3-checkins] SVN: zope.testing/branches/mgedmin-fixes/src/zope/testing/testrunner Implement a --list-modules option that lists all modules matching your pattern,

Baiju M mbaiju at zeomega.com
Fri Jan 12 07:21:58 EST 2007


Marius Gedminas wrote:
[snip]
> > And all tests are passed with message "Ran 123 tests with 0
> > failures and 0 errors in 18.783 seconds."
>
>
>  Which Python version do you have? I get 4 failures with Python
>  2.4.4c1 (Ubuntu Edgy) with the zope.testing trunk. These are now
>  fixed on the mgedmin-fixes branch.

I am using a manually installed 2.4.4 final release. All tests pass, but
some other error is coming, here is the output:

Running unit tests:
  Ran 123 tests with 0 failures and 0 errors in 54.110 seconds.
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/var/tmp/zopy/usr//lib/python2.4/atexit.py", line 24, in 
_run_exitfuncs
    func(*targs, **kargs)
  File "/var/tmp/zopy/usr//lib/python2.4/logging/__init__.py", line 
1333, in shutdown
    h.close()
  File "/var/tmp/zopy/usr//lib/python2.4/logging/__init__.py", line 772, 
in close
    StreamHandler.close(self)
  File "/var/tmp/zopy/usr//lib/python2.4/logging/__init__.py", line 674, 
in close
    del _handlers[self]
KeyError: <logging.FileHandler instance at 0xb7a1dc8c>
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/var/tmp/zopy/usr//lib/python2.4/atexit.py", line 24, in 
_run_exitfuncs
    func(*targs, **kargs)
  File "/var/tmp/zopy/usr//lib/python2.4/logging/__init__.py", line 
1333, in shutdown
    h.close()
  File "/var/tmp/zopy/usr//lib/python2.4/logging/__init__.py", line 772, 
in close
    StreamHandler.close(self)
  File "/var/tmp/zopy/usr//lib/python2.4/logging/__init__.py", line 674, 
in close
    del _handlers[self]
KeyError: <logging.FileHandler instance at 0xb7a1dc8c>

Any idea why this is happens?

Regards,
Baiju M



More information about the Zope3-dev mailing list