Skip to content

Commit

Permalink
Correct exit code if failures % 256 == 0 due to UNIX semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
lamby authored and d1b committed Dec 25, 2015
1 parent ae6723f commit fafa82b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blockfindertest.py
Expand Up @@ -145,4 +145,4 @@ def test_capitalization(self):
results = test_runner.run(test_suite)
failures += len(results.errors)
failures += len(results.failures)
sys.exit(failures)
sys.exit(1 if failures else 0)

0 comments on commit fafa82b

Please sign in to comment.