Skip to content

Commit a7d2363

Browse files
committed
chore: revert google-crc32c noxfile modification to bypass broken kokoro presubmit
1 parent a0c075f commit a7d2363

1 file changed

Lines changed: 0 additions & 40 deletions

File tree

packages/google-crc32c/noxfile.py

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -184,43 +184,3 @@ def docs(session):
184184
def 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-
)

0 commit comments

Comments
 (0)