diff options
Diffstat (limited to 'simplejson/tests/__init__.py')
-rw-r--r-- | simplejson/tests/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simplejson/tests/__init__.py b/simplejson/tests/__init__.py index c183305..8d2e443 100644 --- a/simplejson/tests/__init__.py +++ b/simplejson/tests/__init__.py @@ -56,7 +56,7 @@ def all_tests_suite(): def main(): runner = unittest.TextTestRunner() suite = all_tests_suite() - runner.run(suite) + raise SystemExit(not runner.run(suite).wasSuccessful()) if __name__ == '__main__': |