summaryrefslogtreecommitdiff
path: root/tests/test_process.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-12-26 07:18:13 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-12-26 07:18:13 -0500
commitf7b83b4e00512525ff93783f18dc70b7d42ea1e7 (patch)
tree4fb9c577ea220353b34ba1a90ac1b5fc3f64db1d /tests/test_process.py
parent481c27ae93b627e3f7704bd2ba652c60f61fabdd (diff)
downloadpython-coveragepy-git-f7b83b4e00512525ff93783f18dc70b7d42ea1e7.tar.gz
Put the excepthook tests in their own class for convenience
Diffstat (limited to 'tests/test_process.py')
-rw-r--r--tests/test_process.py5
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."""