File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -184,43 +184,3 @@ def docs(session):
184184def docfx (session ):
185185 """Run all docfx tests."""
186186 session .skip ("Docfx tests are not supported" )
187-
188-
189- @nox .session (python = "3.15" )
190- def import_profile (session ):
191- """Ensure import times remain below defined thresholds."""
192- profiler_script = (
193- CURRENT_DIRECTORY .parent .parent / "scripts" / "import_profiler" / "profiler.py"
194- )
195- if not profiler_script .exists ():
196- session .skip ("The import profiler script was not found." )
197-
198- session .install ("." )
199- session .run (
200- "python" ,
201- str (profiler_script ),
202- "--module" ,
203- "unknown_module" ,
204- "--iterations" ,
205- "10" ,
206- )
207-
208-
209- @nox .session (python = "3.15" )
210- def import_profile (session ):
211- """Ensure import times remain below defined thresholds."""
212- profiler_script = (
213- CURRENT_DIRECTORY .parent .parent / "scripts" / "import_profiler" / "profiler.py"
214- )
215- if not profiler_script .exists ():
216- session .skip ("The import profiler script was not found." )
217-
218- session .install ("." )
219- session .run (
220- "python" ,
221- str (profiler_script ),
222- "--module" ,
223- "unknown_module" ,
224- "--iterations" ,
225- "10" ,
226- )
You can’t perform that action at this time.
0 commit comments