We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62293ee commit 1c5be51Copy full SHA for 1c5be51
lupa/tests/__main__.py
@@ -1,4 +1,5 @@
1
if __name__ == '__main__':
2
+ import sys
3
import unittest
4
from . import suite
- unittest.TextTestRunner(verbosity=2).run(suite())
5
+ sys.exit(1 if unittest.TextTestRunner(verbosity=2).run(suite()).failures else 0)
0 commit comments