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:
245
245
return str (self .tmpdir )
246
246
247
247
248
- pytest .Testdir = Testdir # type: ignore[attr-defined]
249
-
250
-
251
248
class LegacyTestdirPlugin :
252
249
@staticmethod
253
250
@pytest .fixture
@@ -284,9 +281,6 @@ def getbasetemp(self) -> LEGACY_PATH:
284
281
return legacy_path (self ._tmppath_factory .getbasetemp ().resolve ())
285
282
286
283
287
- pytest .TempdirFactory = TempdirFactory # type: ignore[attr-defined]
288
-
289
-
290
284
class LegacyTmpdirPlugin :
291
285
@staticmethod
292
286
@pytest .fixture (scope = "session" )
Original file line number Diff line number Diff line change 23
23
from _pytest .fixtures import FixtureRequest
24
24
from _pytest .fixtures import yield_fixture
25
25
from _pytest .freeze_support import freeze_includes
26
+ from _pytest .legacypath import TempdirFactory
27
+ from _pytest .legacypath import Testdir
26
28
from _pytest .logging import LogCaptureFixture
27
29
from _pytest .main import Session
28
30
from _pytest .mark import Mark
142
144
"Stash" ,
143
145
"StashKey" ,
144
146
"version_tuple" ,
147
+ "TempdirFactory" ,
145
148
"TempPathFactory" ,
149
+ "Testdir" ,
146
150
"TestReport" ,
147
151
"UsageError" ,
148
152
"WarningsRecorder" ,
You can’t perform that action at this time.
0 commit comments