R
Roy Smith
We've got a package (with an empty __init__.py), which contains a
setup.py file. When I run nosetests, the test discovery code finds
setup.py, thinks it's a test, and tries to run it (with predictably poor
results).
Is there some way to mark this file as not a test? If it was a method in
a file, I would decorate it with @nottest, but that doesn't work here.
setup.py file. When I run nosetests, the test discovery code finds
setup.py, thinks it's a test, and tries to run it (with predictably poor
results).
Is there some way to mark this file as not a test? If it was a method in
a file, I would decorate it with @nottest, but that doesn't work here.