diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-10-10 11:58:26 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-10-10 11:58:26 -0400 |
commit | e54b7576a35b3dd4642788cff557a2ccebf7582b (patch) | |
tree | 3369a7d4372a1d20ec100a05d7f732184b2e86b6 /tests/test_process.py | |
parent | 036baa78a006c061862ed2e16db51a2f8be7b29e (diff) | |
download | python-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.py | 4 |
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") |