diff options
author | Picca Frédéric-Emmanuel <picca@debian.org> | 2021-09-07 14:39:36 +0200 |
---|---|---|
committer | Picca Frédéric-Emmanuel <picca@debian.org> | 2021-09-07 14:39:36 +0200 |
commit | d3194b1a9c4404ba93afac43d97172ab24c57098 (patch) | |
tree | a1604130e1401dc1cbd084518ed72869dc92b86f /silx/test | |
parent | b3bea947efa55d2c0f198b6c6795b3177be27f45 (diff) |
New upstream version 0.15.2+dfsg
Diffstat (limited to 'silx/test')
-rw-r--r-- | silx/test/__init__.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/silx/test/__init__.py b/silx/test/__init__.py index 0991469..2063ab5 100644 --- a/silx/test/__init__.py +++ b/silx/test/__init__.py @@ -89,10 +89,13 @@ def suite(): return test_suite -def run_tests(): - """Run test complete test_suite""" +def run_tests(*args, **kwargs): + """Run test complete test_suite + + Provided arguments are passed to :class:`unittest.TextTestRunner`. + """ test_options.configure() - runner = unittest.TextTestRunner() + runner = unittest.TextTestRunner(*args, **kwargs) if not runner.run(suite()).wasSuccessful(): print("Test suite failed") return 1 |