mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-09 01:35:01 +08:00
[Misc] fix comment in test_envs (#28529)
Signed-off-by: Xing Liu <xingliu14@gmail.com>
This commit is contained in:
parent
fd75d3e8c0
commit
8cfbe89b93
@ -36,7 +36,7 @@ def test_getattr_with_cache(monkeypatch: pytest.MonkeyPatch):
|
||||
# Enable envs cache and ignore ongoing environment changes
|
||||
enable_envs_cache()
|
||||
|
||||
# __getattr__ is not decorated with functools.cache
|
||||
# __getattr__ is decorated with functools.cache
|
||||
assert hasattr(envs.__getattr__, "cache_info")
|
||||
start_hits = envs.__getattr__.cache_info().hits
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user