pre-commit run --all-files

This commit is contained in:
Daniel Hahler 2020-03-07 01:40:48 +01:00
parent 2df4f63149
commit dc86fb6758
3 changed files with 5 additions and 5 deletions

View File

@ -1141,7 +1141,7 @@ def fixture(
params=params,
autouse=autouse,
ids=ids,
name=name
name=name,
)
scope = arguments.get("scope")
params = arguments.get("params")
@ -1179,7 +1179,7 @@ def yield_fixture(
params=params,
autouse=autouse,
ids=ids,
name=name
name=name,
)

View File

@ -439,7 +439,7 @@ class TestCaptureFixture:
out, err = capsys.readouterr()
assert out.startswith("42")
""",
*opt
*opt,
)
reprec.assertoutcome(passed=1)

View File

@ -702,7 +702,7 @@ def test_plugin_loading_order(testdir):
config = session.config
terminal_plugin.append(bool(config.pluginmanager.get_plugin("terminalreporter")))
"""
}
},
)
testdir.syspathinsert()
result = testdir.runpytest("-p", "myplugin", str(p1))
@ -781,7 +781,7 @@ def test_config_in_subdirectory_colon_command_line_issue2148(testdir):
testdir.makefile(
".ini",
**{"pytest": "[pytest]\nfoo = root", "subdir/pytest": "[pytest]\nfoo = subdir"}
**{"pytest": "[pytest]\nfoo = root", "subdir/pytest": "[pytest]\nfoo = subdir"},
)
testdir.makepyfile(