Skip to content

Commit dc86fb6

Browse files
committed
pre-commit run --all-files
1 parent 2df4f63 commit dc86fb6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/_pytest/fixtures.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,7 @@ def fixture(
11411141
params=params,
11421142
autouse=autouse,
11431143
ids=ids,
1144-
name=name
1144+
name=name,
11451145
)
11461146
scope = arguments.get("scope")
11471147
params = arguments.get("params")
@@ -1179,7 +1179,7 @@ def yield_fixture(
11791179
params=params,
11801180
autouse=autouse,
11811181
ids=ids,
1182-
name=name
1182+
name=name,
11831183
)
11841184

11851185

testing/test_capture.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ def test_hello(capsys):
439439
out, err = capsys.readouterr()
440440
assert out.startswith("42")
441441
""",
442-
*opt
442+
*opt,
443443
)
444444
reprec.assertoutcome(passed=1)
445445

testing/test_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ def pytest_sessionstart(session):
702702
config = session.config
703703
terminal_plugin.append(bool(config.pluginmanager.get_plugin("terminalreporter")))
704704
"""
705-
}
705+
},
706706
)
707707
testdir.syspathinsert()
708708
result = testdir.runpytest("-p", "myplugin", str(p1))
@@ -781,7 +781,7 @@ def pytest_addoption(parser):
781781

782782
testdir.makefile(
783783
".ini",
784-
**{"pytest": "[pytest]\nfoo = root", "subdir/pytest": "[pytest]\nfoo = subdir"}
784+
**{"pytest": "[pytest]\nfoo = root", "subdir/pytest": "[pytest]\nfoo = subdir"},
785785
)
786786

787787
testdir.makepyfile(

0 commit comments

Comments
 (0)