Skip to content

Commit 86476d4

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4d1892a commit 86476d4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/xdist/plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def pytest_addoption(parser: pytest.Parser) -> None:
136136
"Reorders tests when used in conjunction with loadscope.\n"
137137
"Will order tests by number of tests per scope as a best-effort"
138138
" attempt to evenly distribute scopes across all workers."
139-
)
139+
),
140140
)
141141
group.addoption(
142142
"--tx",

testing/acceptance_test.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,9 @@ def test(i):
12621262
pass
12631263
"""
12641264
pytester.makepyfile(test_a=test_file.format(10), test_b=test_file.format(20))
1265-
result = pytester.runpytest("-n2", "--dist=loadscope", "--no-loadscope-reorder", "-v")
1265+
result = pytester.runpytest(
1266+
"-n2", "--dist=loadscope", "--no-loadscope-reorder", "-v"
1267+
)
12661268
assert get_workers_and_test_count_by_prefix(
12671269
"test_a.py::test", result.outlines
12681270
) == {"gw0": 10}

0 commit comments

Comments
 (0)