summaryrefslogtreecommitdiff
path: root/tests/test_plugins.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-05-01 08:16:06 -0400
committerNed Batchelder <ned@nedbatchelder.com>2022-05-01 13:00:38 -0400
commit420c01394a31415d7a7cbb80be196bcfca48482c (patch)
treed71672faede9de984c024eadc678ae05ff5af558 /tests/test_plugins.py
parent53f00a00b7cfb5e856136ea600844160746d6ae2 (diff)
downloadpython-coveragepy-git-420c01394a31415d7a7cbb80be196bcfca48482c.tar.gz
style: parens should indent the same as their opening line
Diffstat (limited to 'tests/test_plugins.py')
-rw-r--r--tests/test_plugins.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_plugins.py b/tests/test_plugins.py
index edf849f6..b4239700 100644
--- a/tests/test_plugins.py
+++ b/tests/test_plugins.py
@@ -196,7 +196,7 @@ class PluginTest(CoverageTest):
cov.set_option("run:plugins", ["plugin_sys_info"])
with swallow_warnings(
r"Plugin file tracers \(plugin_sys_info.Plugin\) aren't supported with PyTracer"
- ):
+ ):
cov.start()
cov.stop() # pragma: nested
@@ -210,7 +210,7 @@ class PluginTest(CoverageTest):
"-- sys: plugin_sys_info.Plugin -------------------------------",
"hello: world",
"-- end -------------------------------------------------------",
- ]
+ ]
assert expected_end == out_lines[-len(expected_end):]
def test_plugin_with_no_sys_info(self):
@@ -236,7 +236,7 @@ class PluginTest(CoverageTest):
expected_end = [
"-- sys: plugin_no_sys_info.Plugin ----------------------------",
"-- end -------------------------------------------------------",
- ]
+ ]
assert expected_end == out_lines[-len(expected_end):]
def test_local_files_are_importable(self):
@@ -426,7 +426,7 @@ class GoodFileTracerTest(FileTracerTest):
'foo_7.html 7 5 0 0 29% 1-3, 6-7',
'--------------------------------------------------------',
'TOTAL 11 7 0 0 36%',
- ]
+ ]
assert expected == report
assert math.isclose(total, 4 / 11 * 100)
@@ -525,7 +525,7 @@ class GoodFileTracerTest(FileTracerTest):
'unsuspecting.py 6 3 50% 2, 4, 6',
'-----------------------------------------------',
'TOTAL 6 3 50%',
- ]
+ ]
assert expected == report
assert total == 50