changeset 43076 | 2372284d9457 |
parent 28736 | 403b0a7ab410 |
child 48875 | 6000f5b25c9b |
--- a/tests/silenttestrunner.py Sat Oct 05 10:29:34 2019 -0400 +++ b/tests/silenttestrunner.py Sun Oct 06 09:45:02 2019 -0400 @@ -3,6 +3,7 @@ import sys import unittest + def main(modulename): '''run the tests found in module, printing nothing when all tests pass''' module = sys.modules[modulename] @@ -20,5 +21,6 @@ sys.stdout.write(exc) sys.exit(1) + if os.environ.get('SILENT_BE_NOISY'): main = unittest.main