diff options
Diffstat (limited to 'setup_commands/run_tests.py')
| -rw-r--r-- | setup_commands/run_tests.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/setup_commands/run_tests.py b/setup_commands/run_tests.py index 37d7ffa..8fb0b25 100644 --- a/setup_commands/run_tests.py +++ b/setup_commands/run_tests.py @@ -27,10 +27,11 @@ class RunTests(Command): def finalize_options(self): """Set final value of all the options once they are processed.""" if self.type not in RunTests.test_types: - raise Exception(f""" - Invalid test type (self.type) requested! - Valid types are - {tuple(RunTests.test_types)}""") + raise Exception(# pylint: disable=[broad-exception-raised] + f""" + Invalid test type (self.type) requested! + Valid types are + {tuple(RunTests.test_types)}""") if self.type != "all": self.command = f"pytest -m {self.type}_test" |
