[Misc] fix comment in test_envs (#28529)

Signed-off-by: Xing Liu <xingliu14@gmail.com>
This commit is contained in:
Xing Liu 2025-11-14 01:32:46 -08:00 committed by GitHub
parent fd75d3e8c0
commit 8cfbe89b93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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