Skip to content

Commit

Permalink
refactor: remove some left over test prints
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Oct 10, 2021
1 parent 6cc672f commit a05710e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/test_process.py
Expand Up @@ -817,7 +817,6 @@ def foo():
# 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" +
Expand Down Expand Up @@ -1615,7 +1614,6 @@ def path(basename):
data = coverage.CoverageData()
data.read()
summary = line_counts(data)
print(summary)
assert summary[source + '.py'] == 3
assert len(summary) == 1

Expand Down Expand Up @@ -1785,7 +1783,6 @@ def test_us_in_venv_isnt_measured(self, coverage_command):
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"
Expand Down

0 comments on commit a05710e

Please sign in to comment.