What is the difference between running my unit tests with the command:
'python setup.py test'
and
'python setup.py nosetests'
?
I recently upgraded to python 2.6.2 and am noticing a strange error
after the tests finish when I issue the first command:
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/atexit.py", line 24, in
_run_exitfuncs
func(*targs, **kargs)
File "/usr/local/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/local/lib/python2.6/atexit.py", line 24, in
_run_exitfuncs
func(*targs, **kargs)
File "/usr/local/lib/python2.6/multiprocessing/util.py", line 258,
in _exit_function
info('process shutting down')
TypeError: 'NoneType' object is not callable
The second command does not exit with this error. Both commands run
and execute the tests without any failures. I noticed in the pylons
documentation that 'python setup.py nosetests' is being used. Any
help with this would be really appreciated.
-Harish
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---