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 2
2
3
3
import os
4
4
import pathlib
5
- import pprint
6
5
import re
7
6
import shutil
8
7
from typing import cast
@@ -1291,14 +1290,22 @@ class TestScopeB(TestScopeA):
1291
1290
pytester .makepyfile (test_a = test_file , test_b = test_file )
1292
1291
result = pytester .runpytest ("-n2" , "--dist=isoscope" , "-v" )
1293
1292
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
+ )
1302
1309
1303
1310
def test_by_module (self , pytester : pytest .Pytester ) -> None :
1304
1311
test_file = """
You can’t perform that action at this time.
0 commit comments