nose-devs / nose

nose is nicer testing for python
http://readthedocs.org/docs/nose/en/latest/
1.36k stars 396 forks source link

Allow importing tests from __init__.py files #1010

Open teeberg opened 8 years ago

teeberg commented 8 years ago

This allows running tests from __init__.py files specifically, e.g.

nosetests tests.__init__

This is not equivalent to running

nosetests tests

which would run all other files in that folder and subfolders as well.

I have to admit I don't fully understand why this code that I removed was there, so please let me know if this breaks something that I'm not aware of!