Skip to content

Commit bcf53c0

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

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

testing/acceptance_test.py

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import os
44
import pathlib
5-
import pprint
65
import re
76
import shutil
87
from typing import cast
@@ -1291,14 +1290,22 @@ class TestScopeB(TestScopeA):
12911290
pytester.makepyfile(test_a=test_file, test_b=test_file)
12921291
result = pytester.runpytest("-n2", "--dist=isoscope", "-v")
12931292

1294-
assert sum(
1295-
get_workers_and_test_count_by_prefix(
1296-
"test_a.py::TestScopeA", result.outlines).values()
1297-
) == 5
1298-
assert sum(
1299-
get_workers_and_test_count_by_prefix(
1300-
"test_a.py::TestScopeB", result.outlines).values()
1301-
) == 5
1293+
assert (
1294+
sum(
1295+
get_workers_and_test_count_by_prefix(
1296+
"test_a.py::TestScopeA", result.outlines
1297+
).values()
1298+
)
1299+
== 5
1300+
)
1301+
assert (
1302+
sum(
1303+
get_workers_and_test_count_by_prefix(
1304+
"test_a.py::TestScopeB", result.outlines
1305+
).values()
1306+
)
1307+
== 5
1308+
)
13021309

13031310
def test_by_module(self, pytester: pytest.Pytester) -> None:
13041311
test_file = """

0 commit comments

Comments
 (0)