Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5693e3f

Browse files
committed
Set exit to True in test runner
Otherwise the exit status is not set correctly and travis does not fail
1 parent 5f31000 commit 5693e3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def run_tests(self):
231231
nose.main(addplugins=[x() for x in plugins],
232232
defaultTest=testmodules,
233233
argv=['nosetests'] + self.test_args,
234-
exit=False)
234+
exit=True)
235235

236236

237237
# One doesn't normally see `if __name__ == '__main__'` blocks in a setup.py,

0 commit comments

Comments
 (0)