Skip to content

Commit 8cc1932

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1ad5c29 commit 8cc1932

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

testing/acceptance_test.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,12 +1247,16 @@ def test(i):
12471247
"""
12481248
pytester.makepyfile(test_a=test_file.format(10), test_b=test_file.format(20))
12491249
result = pytester.runpytest("-n2", "--dist=loadscope", "-v")
1250-
assert list(get_workers_and_test_count_by_prefix(
1251-
"test_a.py::test", result.outlines
1252-
).values()) == [10]
1253-
assert list(get_workers_and_test_count_by_prefix(
1254-
"test_b.py::test", result.outlines
1255-
).values()) == [20]
1250+
assert list(
1251+
get_workers_and_test_count_by_prefix(
1252+
"test_a.py::test", result.outlines
1253+
).values()
1254+
) == [10]
1255+
assert list(
1256+
get_workers_and_test_count_by_prefix(
1257+
"test_b.py::test", result.outlines
1258+
).values()
1259+
) == [20]
12561260

12571261
def test_workqueue_ordered_by_input(self, pytester: pytest.Pytester) -> None:
12581262
test_file = """

0 commit comments

Comments
 (0)