unitests don't run under pdb

Amit Gupta emailamit at gmail.com
Wed Feb 20 21:08:32 CET 2008


I have a unitest file: If I do

python testname.py : the unitests runs as usual and I get the
following results:
Ran 2 tests in 0.024s


However, if I do "python -m pdb testnames.py": I get
ython -m pdb testnames.py
> /s/nd6/amit/pyiglu/testnames.py(1)<module>()
-> import unittest
(Pdb) c

Ran 0 tests in 0.000s


Anything else, I should be doing (python version 2.5.1)


More information about the Python-list mailing list