resh
unread,Jun 12, 2012, 11:15:47 AM6/12/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to winpe...@googlegroups.com
Hi. After installing winpexpect ver 1.5, (also python 2.7, nose 1.1.2, the first thing I tried to run was 'python setup.py test' cmd. This is failing (reports 0 tests run) and gives this error:
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "C:\Python27\lib\atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "C:\Python27\lib\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 "C:\Python27\lib\atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "C:\Python27\lib\multiprocessing\util.py", line 284, in _exit_function
info('process shutting down')
TypeError: 'NoneType' object is not callable
Anyone seen this before? I found references to this error online, but no solutions. There was even uncertainty as to whether it is a nose or python problem. One workaround was to run 'nosetests' directly with the cmd: 'nosetests test' but this failed for me as well (it did run the first few tests but I'm not even sure it was running the same set of tests as setup.py). When I skip the tests and try to run an expect script, python fails silently. So what can I try next? Thanks.