From 5693e3f29d82ab0bfedb0cb42ae83bb1a15675c2 Mon Sep 17 00:00:00 2001 From: Jens Hedegaard Nielsen Date: Wed, 15 Jul 2015 19:09:33 -0500 Subject: [PATCH] Set exit to True in test runner Otherwise the exit status is not set correctly and travis does not fail --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0e0aaa3b7f5e..d99ea700f1cc 100644 --- a/setup.py +++ b/setup.py @@ -231,7 +231,7 @@ def run_tests(self): nose.main(addplugins=[x() for x in plugins], defaultTest=testmodules, argv=['nosetests'] + self.test_args, - exit=False) + exit=True) # One doesn't normally see `if __name__ == '__main__'` blocks in a setup.py,