Python nosetests runs tests twice Python nosetests runs tests twice flask flask

Python nosetests runs tests twice


I had a similar issue. After turning up verbosity (as suggested by Schollii above) and comparing notes on this question what worked for me was deleting the init.py (and init.pyc of course) in my main code folder (of which tests were a subdirectory).


I just had this one. Apparently I messed up the command line syntax. It's not:

nosetests module.py module.class_name

It's:

nosetests module.class_name