summaryrefslogtreecommitdiff
path: root/tests/test_process.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-10-10 11:58:26 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-10-10 11:58:26 -0400
commite54b7576a35b3dd4642788cff557a2ccebf7582b (patch)
tree3369a7d4372a1d20ec100a05d7f732184b2e86b6 /tests/test_process.py
parent036baa78a006c061862ed2e16db51a2f8be7b29e (diff)
downloadpython-coveragepy-git-e54b7576a35b3dd4642788cff557a2ccebf7582b.tar.gz
refactor: no need for maybe-u prefixes in test regexes
That was for Python 2, which we don't support anymore.
Diffstat (limited to 'tests/test_process.py')
-rw-r--r--tests/test_process.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_process.py b/tests/test_process.py
index 1adb6cff..6c5dd76b 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -1788,11 +1788,11 @@ class VirtualenvTest(CoverageTest):
print(re_lines(debug_out, "myproduct"))
assert re_lines(
debug_out,
- r"^Not tracing .*\bmyproduct.py': module u?'myproduct' falls outside the --source spec"
+ r"^Not tracing .*\bmyproduct.py': module 'myproduct' falls outside the --source spec"
)
assert re_lines(
debug_out,
- r"^Not tracing .*\bcolorsys.py': module u?'colorsys' falls outside the --source spec"
+ r"^Not tracing .*\bcolorsys.py': module 'colorsys' falls outside the --source spec"
)
out = run_in_venv("python -m coverage report")