Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5735ea commit 14a1402Copy full SHA for 14a1402
tests/test_regression.py
@@ -11,7 +11,7 @@
11
from cmake_file_api.kinds.codemodel.api import CODEMODEL_API
12
13
14
-@functools.cache
+@functools.lru_cache(1) # FIXME: CPython 3.9 provides `functools.cache`
15
def cmake_version():
16
cmake_version_raw = subprocess.check_output(["cmake", "--version"], text=True)
17
cmake_version_match = next(re.finditer(r"cmake version ((?:[0-9.]+.)[0-9.]+)", cmake_version_raw, flags=re.I))
0 commit comments