diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-05-01 08:16:06 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-05-01 13:00:38 -0400 |
commit | 420c01394a31415d7a7cbb80be196bcfca48482c (patch) | |
tree | d71672faede9de984c024eadc678ae05ff5af558 /tests/test_venv.py | |
parent | 53f00a00b7cfb5e856136ea600844160746d6ae2 (diff) | |
download | python-coveragepy-git-420c01394a31415d7a7cbb80be196bcfca48482c.tar.gz |
style: parens should indent the same as their opening line
Diffstat (limited to 'tests/test_venv.py')
-rw-r--r-- | tests/test_venv.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/test_venv.py b/tests/test_venv.py index 0fe30a49..4bf1eb02 100644 --- a/tests/test_venv.py +++ b/tests/test_venv.py @@ -212,12 +212,12 @@ class VirtualenvTest(CoverageTest): assert re_lines( r"^Not tracing .*\bexecfile.py': inside --source, but is third-party", debug_out, - ) + ) assert re_lines(r"^Tracing .*\bmyproduct.py", debug_out) assert re_lines( r"^Not tracing .*\bcolorsys.py': falls outside the --source spec", debug_out, - ) + ) out = run_in_venv(coverage_command + " report") assert "myproduct.py" in out @@ -236,15 +236,15 @@ class VirtualenvTest(CoverageTest): r"^Not tracing .*\bexecfile.py': " + "module 'coverage.execfile' falls outside the --source spec", debug_out, - ) + ) assert re_lines( r"^Not tracing .*\bmyproduct.py': module 'myproduct' falls outside the --source spec", debug_out, - ) + ) assert re_lines( r"^Not tracing .*\bcolorsys.py': module 'colorsys' falls outside the --source spec", debug_out, - ) + ) out = run_in_venv(coverage_command + " report") assert "myproduct.py" not in out @@ -300,15 +300,15 @@ class VirtualenvTest(CoverageTest): r"^Not tracing .*\bexecfile.py': " + "module 'coverage.execfile' falls outside the --source spec", debug_out, - ) + ) assert re_lines( r"^Not tracing .*\bmyproduct.py': module 'myproduct' falls outside the --source spec", debug_out, - ) + ) assert re_lines( r"^Not tracing .*\bcolorsys.py': module 'colorsys' falls outside the --source spec", debug_out, - ) + ) out = run_in_venv(coverage_command + " report") @@ -330,6 +330,6 @@ class VirtualenvTest(CoverageTest): out = run_in_venv( coverage_command + " run --source=bug888/app,bug888/plugin bug888/app/testcov/main.py" - ) + ) # When the test fails, the output includes "Already imported a file that will be measured" assert out == "Plugin here\n" |