Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error, when tests run #5

Closed
alekzvik opened this issue Apr 23, 2012 · 3 comments
Closed

Error, when tests run #5

alekzvik opened this issue Apr 23, 2012 · 3 comments

Comments

@alekzvik
Copy link
Contributor

When I run python setup.py test all tests pass, but then I get following error.

Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.7/multiprocessing/util.py", line 284, 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.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.7/multiprocessing/util.py", line 284, in _exit_function
    info('process shutting down')
TypeError: 'NoneType' object is not callable
@alekzvik
Copy link
Contributor Author

Error appears on Python 2.6 and Python 2.7.
All tests pass in Python 2.5 without error.

@ajford
Copy link
Owner

ajford commented Apr 23, 2012

I'm unable to tell what this is. As far as I can tell, its some issue with nose 1.1.2 and being called by something else (see https://groups.google.com/d/topic/nose-users/fnJ-kAUbYHQ/discussion )

If you call nosetests tests.py directly, you don't get those errors, and if you install nose 1.0.0, the errors don't surface either.

I'll keep digging, but I'm not sure what's causing the problem.

@mitar
Copy link

mitar commented Sep 12, 2012

It is this bug: http://bugs.python.org/issue15881

There is also a workaround described.

@ajford ajford closed this as completed in 11c184d Dec 31, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants