Unverified Commit 8cfbe89b authored by Xing Liu's avatar Xing Liu Committed by GitHub
Browse files

[Misc] fix comment in test_envs (#28529)


Signed-off-by: default avatarXing Liu <xingliu14@gmail.com>
parent fd75d3e8
...@@ -36,7 +36,7 @@ def test_getattr_with_cache(monkeypatch: pytest.MonkeyPatch): ...@@ -36,7 +36,7 @@ def test_getattr_with_cache(monkeypatch: pytest.MonkeyPatch):
# Enable envs cache and ignore ongoing environment changes # Enable envs cache and ignore ongoing environment changes
enable_envs_cache() enable_envs_cache()
# __getattr__ is not decorated with functools.cache # __getattr__ is decorated with functools.cache
assert hasattr(envs.__getattr__, "cache_info") assert hasattr(envs.__getattr__, "cache_info")
start_hits = envs.__getattr__.cache_info().hits start_hits = envs.__getattr__.cache_info().hits
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment