File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -245,9 +245,6 @@ def __str__(self) -> str:
245245 return str (self .tmpdir )
246246
247247
248- pytest .Testdir = Testdir # type: ignore[attr-defined]
249-
250-
251248class LegacyTestdirPlugin :
252249 @staticmethod
253250 @pytest .fixture
@@ -284,9 +281,6 @@ def getbasetemp(self) -> LEGACY_PATH:
284281 return legacy_path (self ._tmppath_factory .getbasetemp ().resolve ())
285282
286283
287- pytest .TempdirFactory = TempdirFactory # type: ignore[attr-defined]
288-
289-
290284class LegacyTmpdirPlugin :
291285 @staticmethod
292286 @pytest .fixture (scope = "session" )
Original file line number Diff line number Diff line change 2323from _pytest .fixtures import FixtureRequest
2424from _pytest .fixtures import yield_fixture
2525from _pytest .freeze_support import freeze_includes
26+ from _pytest .legacypath import TempdirFactory
27+ from _pytest .legacypath import Testdir
2628from _pytest .logging import LogCaptureFixture
2729from _pytest .main import Session
2830from _pytest .mark import Mark
142144 "Stash" ,
143145 "StashKey" ,
144146 "version_tuple" ,
147+ "TempdirFactory" ,
145148 "TempPathFactory" ,
149+ "Testdir" ,
146150 "TestReport" ,
147151 "UsageError" ,
148152 "WarningsRecorder" ,
You can’t perform that action at this time.
0 commit comments