Skip to content

Commit

Permalink
Merge pull request #93 from d1b/correct-exit-code
Browse files Browse the repository at this point in the history
Correct exit code if ``failures % 256 == 0`` due to UNIX semantics
  • Loading branch information
d1b committed Dec 25, 2015
2 parents ae6723f + fafa82b commit 7610294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blockfindertest.py
Original file line number Diff line number Diff line change
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 7610294

Please sign in to comment.