I'm use nosetests to run some tests. However, after the tests have finished running, the nosetests process just sits there, and will not exit. Is there anyway to diagnose this? Does Python have a facility similar to sending Java a kill -QUIT which will print a stack trace?
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
where -x is "Stop running tests after the first error or failure" and --pdb is "Drop into debugger on failures or errors"
Also see http://nose.readthedocs.org/en/latest/usage.html
You can enter the debugger and type
bt
:Then you can step through the operation and see where it hangs.