summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2017-04-30 22:11:42 -0400
committerNed Batchelder <ned@nedbatchelder.com>2017-04-30 22:11:42 -0400
commit7f8b0d02855b8886683c6892fe7615c3cdb4fa67 (patch)
tree411df06bef5de2ebe4a7907627e7864310a7123e
parent31c040182329594c29d7426b1fa152e57ee98b48 (diff)
downloadpython-coveragepy-git-7f8b0d02855b8886683c6892fe7615c3cdb4fa67.tar.gz
Add to gettrace/settrace test to be sure it's re-established
-rw-r--r--tests/test_oddball.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_oddball.py b/tests/test_oddball.py
index 1fa369aa..91acc0c6 100644
--- a/tests/test_oddball.py
+++ b/tests/test_oddball.py
@@ -485,8 +485,10 @@ class GettraceTest(CoverageTest):
old = sys.gettrace()
test_unsets_trace()
sys.settrace(old)
+ a = 21
+ b = 22
''',
- lines=[1, 3, 4, 5, 7, 8, 10, 11, 12, 14, 15, 16, 18, 19, 20],
+ lines=[1, 3, 4, 5, 7, 8, 10, 11, 12, 14, 15, 16, 18, 19, 20, 21, 22],
missing="4-5, 11-12",
)