File tree Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Original file line number Diff line number Diff line change 22
33import os
44import pathlib
5- import pprint
65import re
76import shutil
87from 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 = """
You can’t perform that action at this time.
0 commit comments