summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-10-10 16:54:35 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-10-10 16:54:35 -0400
commita05710e863e79bed5f98f01c829b20facce198f9 (patch)
tree2c2ee3a26e1ee8686623122825382a2270ef3629 /tests
parent6cc672fe011b8df3521abe3d48f52605574deacc (diff)
downloadpython-coveragepy-git-a05710e863e79bed5f98f01c829b20facce198f9.tar.gz
refactor: remove some left over test prints
Diffstat (limited to 'tests')
-rw-r--r--tests/test_process.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/test_process.py b/tests/test_process.py
index d5c322fc..72b47d4e 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -817,7 +817,6 @@ class ProcessTest(CoverageTest):
# Remove the file location and source line from the warning.
out = re.sub(r"(?m)^[\\/\w.:~_-]+:\d+: CoverageWarning: ", "f:d: CoverageWarning: ", out)
out = re.sub(r"(?m)^\s+self.warn.*$\n", "", out)
- print("out:", repr(out))
expected = (
"Run 1\n" +
"Run 2\n" +
@@ -1615,7 +1614,6 @@ class ProcessStartupWithSourceTest(ProcessCoverageMixin, CoverageTest):
data = coverage.CoverageData()
data.read()
summary = line_counts(data)
- print(summary)
assert summary[source + '.py'] == 3
assert len(summary) == 1
@@ -1785,7 +1783,6 @@ class VirtualenvTest(CoverageTest):
r"^Not tracing .*\bexecfile.py': " +
"module 'coverage.execfile' falls outside the --source spec"
)
- print(re_lines(debug_out, "myproduct"))
assert re_lines(
debug_out,
r"^Not tracing .*\bmyproduct.py': module 'myproduct' falls outside the --source spec"