summaryrefslogtreecommitdiff
path: root/tests/test_oddball.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-02-06 08:35:53 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-02-06 11:09:53 -0500
commitcd8ab84eee0569a31bb7f2f967eb80deb32eb590 (patch)
tree854d5c5bbf69497b8a9292ad0a3817d1a8e95cf4 /tests/test_oddball.py
parent375b4ae48def9734b6c93fdbf2bc99d684e2457d (diff)
downloadpython-coveragepy-git-cd8ab84eee0569a31bb7f2f967eb80deb32eb590.tar.gz
doc, test: clean up from 'better tracing of pytracer changed'
Commit d35e8c4624bd074c4e55a8e8a33c343f734299db changed the message, but the docs and tests weren't updated.
Diffstat (limited to 'tests/test_oddball.py')
-rw-r--r--tests/test_oddball.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_oddball.py b/tests/test_oddball.py
index 9536c121..703e8187 100644
--- a/tests/test_oddball.py
+++ b/tests/test_oddball.py
@@ -83,7 +83,7 @@ class RecursionTest(CoverageTest):
def test_long_recursion(self):
# We can't finish a very deep recursion, but we don't crash.
with pytest.raises(RuntimeError):
- with swallow_warnings("Trace function changed, measurement is likely wrong: None"):
+ with swallow_warnings("Trace function changed, data is likely wrong: None"):
self.check_coverage("""\
def recur(n):
if n == 0:
@@ -120,7 +120,7 @@ class RecursionTest(CoverageTest):
""")
cov = coverage.Coverage()
- with swallow_warnings("Trace function changed, measurement is likely wrong: None"):
+ with swallow_warnings("Trace function changed, data is likely wrong: None"):
self.start_import_stop(cov, "recur")
pytrace = (cov._collector.tracer_name() == "PyTracer")