diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2014-09-20 13:11:50 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-09-20 13:11:50 -0400 |
commit | a57e1ca1fc50217cdbf1860d4bc8cf402a8522bb (patch) | |
tree | 7605276bff6ab62ecc3a77b8b2a383db07ba7f20 /tests/test_process.py | |
parent | e8ce26b98008e60f2116409600c9e3206cb6f109 (diff) | |
download | python-coveragepy-git-a57e1ca1fc50217cdbf1860d4bc8cf402a8522bb.tar.gz |
More things we don't need with the latest versions
Diffstat (limited to 'tests/test_process.py')
-rw-r--r-- | tests/test_process.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_process.py b/tests/test_process.py index d8314982..3a0980dc 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -470,8 +470,7 @@ class ProcessTest(CoverageTest): self.assertIn("Hello\n", out) self.assertIn("Goodbye\n", out) - if hasattr(sys, "gettrace"): - self.assertIn("Trace function changed", out) + self.assertIn("Trace function changed", out) if sys.version_info >= (3, 0): # This only works on 3.x for now. # It only works with the C tracer, |