nose-exclude is a Nose plugin that allows you to easily specify directories to be excluded from testing.
The –exclude-dir= option is made available after installation of the plugin. The option may be used multiple times to exclude multiple directories from testing. The directory paths provided may be absolute or relative.
$ nosetests –exclude-dir=test_dirs/build
Ran 4 tests in 0.006s