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(
12181218 test_file = """
12191219 import pathlib
12201220 from uuid import uuid1
1221+ from typing import TYPE_CHECKING
12211222 import pytest
1223+ if TYPE_CHECKING:
1224+ from xdist.iso_scheduling_utils import (
1225+ IsoSchedulingFixture,
1226+ DistributedSetupContext,
1227+ DistributedTeardownContext
1228+ )
12221229 class TestScopeA:
12231230 @classmethod
12241231 @pytest.fixture(scope='class', autouse=True)
12251232 def distributed_setup_and_teardown(
12261233 cls,
1227- iso_scheduling:
1234+ iso_scheduling: IsoSchedulingFixture
12281235 request: pytest.FixtureRequest):
12291236 with iso_scheduling.coordinate_setup_teardown(
12301237 setup_request=request) as coordinator:
You can’t perform that action at this time.
0 commit comments