summaryrefslogtreecommitdiff
path: root/tests/test_cmdline.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_cmdline.py
parent53f00a00b7cfb5e856136ea600844160746d6ae2 (diff)
downloadpython-coveragepy-git-420c01394a31415d7a7cbb80be196bcfca48482c.tar.gz
style: parens should indent the same as their opening line
Diffstat (limited to 'tests/test_cmdline.py')
-rw-r--r--tests/test_cmdline.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py
index a088ab8a..c147b527 100644
--- a/tests/test_cmdline.py
+++ b/tests/test_cmdline.py
@@ -107,7 +107,7 @@ class BaseCmdLineTest(CoverageTest):
patchers = [
mock.patch("coverage.cmdline."+name, getattr(mk, name))
for name in self.MOCK_GLOBALS
- ]
+ ]
for patcher in patchers:
patcher.start()
try:
@@ -797,7 +797,7 @@ class CmdLineTest(BaseCmdLineTest):
cov.save()
""",
options=options,
- )
+ )
def test_run_module_from_config(self):
self.cmd_executes("run", """\
@@ -810,7 +810,7 @@ class CmdLineTest(BaseCmdLineTest):
cov.save()
""",
options={"run:command_line": "-m mymodule thing1 thing2"},
- )
+ )
def test_run_from_config_but_empty(self):
self.cmd_executes("run", """\
@@ -819,7 +819,7 @@ class CmdLineTest(BaseCmdLineTest):
""",
ret=ERR,
options={"run:command_line": ""},
- )
+ )
def test_run_dashm_only(self):
self.cmd_executes("run -m", """\
@@ -827,14 +827,14 @@ class CmdLineTest(BaseCmdLineTest):
show_help('No module specified for -m')
""",
ret=ERR,
- )
+ )
self.cmd_executes("run -m", """\
cov = Coverage()
show_help('No module specified for -m')
""",
ret=ERR,
options={"run:command_line": "myprog.py"}
- )
+ )
def test_cant_append_parallel(self):
self.command_line("run --append --parallel-mode foo.py", ret=ERR)