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
commit8647af828b28c2a086b20f121839699b13c97691 (patch)
tree2510c29f25375280633cf29246fbc7e6d66844c3
parentb17f0c1bafb15357f7c27b6a0f5f6e342d6b0a1e (diff)
downloadpython-coveragepy-8647af828b28c2a086b20f121839699b13c97691.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 1fa369a..91acc0c 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",
)