File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1218,13 +1218,20 @@ def test_distributed_setup_teardown_coordination(
1218
1218
test_file = """
1219
1219
import pathlib
1220
1220
from uuid import uuid1
1221
+ from typing import TYPE_CHECKING
1221
1222
import pytest
1223
+ if TYPE_CHECKING:
1224
+ from xdist.iso_scheduling_utils import (
1225
+ IsoSchedulingFixture,
1226
+ DistributedSetupContext,
1227
+ DistributedTeardownContext
1228
+ )
1222
1229
class TestScopeA:
1223
1230
@classmethod
1224
1231
@pytest.fixture(scope='class', autouse=True)
1225
1232
def distributed_setup_and_teardown(
1226
1233
cls,
1227
- iso_scheduling:
1234
+ iso_scheduling: IsoSchedulingFixture
1228
1235
request: pytest.FixtureRequest):
1229
1236
with iso_scheduling.coordinate_setup_teardown(
1230
1237
setup_request=request) as coordinator:
You can’t perform that action at this time.
0 commit comments