mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-14 06:34:44 +00:00
detect_gcp_credentials hook
This commit is contained in:
parent
b73acb198e
commit
e0c61d89d0
929 changed files with 311695 additions and 0 deletions
14
.venv/lib/python3.10/site-packages/_pytest/timing.py
Normal file
14
.venv/lib/python3.10/site-packages/_pytest/timing.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
"""Indirection for time functions.
|
||||
|
||||
We intentionally grab some "time" functions internally to avoid tests mocking "time" to affect
|
||||
pytest runtime information (issue #185).
|
||||
|
||||
Fixture "mock_timing" also interacts with this module for pytest's own tests.
|
||||
"""
|
||||
|
||||
from time import perf_counter
|
||||
from time import sleep
|
||||
from time import time
|
||||
|
||||
|
||||
__all__ = ["perf_counter", "sleep", "time"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue