When using nosetests for Python it is possible to disable a unit test by setting the test function\'s __test__ attribute to false. I have implemented this usin
__test__
Nose already has a builtin decorator for this:
from nose.tools import nottest @nottest def test_my_sample_test() #code here ...
Also check out the other goodies that nose provides: https://nose.readthedocs.org/en/latest/testing_tools.html