diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-12-26 07:18:13 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-12-26 07:18:13 -0500 |
commit | f7b83b4e00512525ff93783f18dc70b7d42ea1e7 (patch) | |
tree | 4fb9c577ea220353b34ba1a90ac1b5fc3f64db1d | |
parent | 481c27ae93b627e3f7704bd2ba652c60f61fabdd (diff) | |
download | python-coveragepy-git-f7b83b4e00512525ff93783f18dc70b7d42ea1e7.tar.gz |
Put the excepthook tests in their own class for convenience
-rw-r--r-- | tests/test_process.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_process.py b/tests/test_process.py index 2e94c19a..a7148621 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -788,6 +788,10 @@ class ProcessTest(CoverageTest): out = self.run_command("python -m coverage") self.assertIn("Use 'coverage help' for help", out) + +class ExcepthookTest(CoverageTest): + """Tests of sys.excepthook support.""" + def test_excepthook(self): self.make_file("test_excepthook.py", """\ import sys @@ -848,7 +852,6 @@ class ProcessTest(CoverageTest): self.assertEqual(cov_out, py_out) - class AliasedCommandTest(CoverageTest): """Tests of the version-specific command aliases.""" |