Download vllm/lib/python3.10/site-packages/_pytest/timing.py from ZTWHHH/envs_2: direct link, hf CLI and curl.
- Browser
- Download file 413 Bytes
-
https://huggingface.co/datasets/ZTWHHH/envs_2/resolve/main/vllm/lib/python3.10/site-packages/_pytest/timing.py
- Command line
-
hf download hf://datasets/ZTWHHH/envs_2/vllm/lib/python3.10/site-packages/_pytest/timing.py
-
curl -L -o timing.py https://huggingface.co/datasets/ZTWHHH/envs_2/resolve/main/vllm/lib/python3.10/site-packages/_pytest/timing.py
413 Bytes
| """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 __future__ import annotations | |
| from time import perf_counter | |
| from time import sleep | |
| from time import time | |
| __all__ = ["perf_counter", "sleep", "time"] | |