[PEAK] setuptools test command generates exception after interpreter shutdown

Nikolaus Rath Nikolaus at rath.org
Sun May 2 18:49:00 EDT 2010


Hello,

Consider this:

$ python tests/t3_fs_api.py
INFO:fsck:Woops!
.
----------------------------------------------------------------------
Ran 1 test in 0.005s

OK

$ ./setup.py test
running test
running egg_info
creating UNKNOWN.egg-info
writing UNKNOWN.egg-info/PKG-INFO
writing top-level names to UNKNOWN.egg-info/top_level.txt
writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
writing manifest file 'UNKNOWN.egg-info/SOURCES.
running build_ext
test_getattr_root (tests.t3_fs_api.fs_api_tests) ... INFO:fsck:Woops!
ok

----------------------------------------------------------------------
Ran 1 test in 0.006s

OK
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.6/multiprocessing/util.py", line 258, in _exit_function
    info('process shutting down')
TypeError: 'NoneType' object is not callable
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.6/multiprocessing/util.py", line 258, in _exit_function
    info('process shutting down')
TypeError: 'NoneType' object is not callable


It seems to me that setuptools might be to blame. I put a minimal
example on http://www.rath.org/bla2.tar.bz2


Best,

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C



More information about the PEAK mailing list