From 873c344d6dcc54d9b0a7a5426067e5dad7a0e321 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 20 Sep 2014 13:11:50 -0400 Subject: More things we don't need with the latest versions --- tests/test_process.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/test_process.py') diff --git a/tests/test_process.py b/tests/test_process.py index d831498..3a0980d 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, -- cgit v1.2.1