Skip to content

Commit

Permalink
Make sure script doesn't exit 0 on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
lemieuxl committed Feb 14, 2024
1 parent 5365354 commit e16a003
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyplink/tests/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
# THE SOFTWARE.


import sys
import unittest

from . import test_suite
Expand All @@ -34,4 +35,5 @@
__license__ = "MIT"


unittest.TextTestRunner(verbosity=1).run(test_suite)
result = unittest.TextTestRunner(verbosity=1).run(test_suite)
sys.exit(not result.wasSuccessful())

0 comments on commit e16a003

Please sign in to comment.