Skip to content

Commit f18dc56

Browse files
author
Chris Cummins
committed
[tests] Add missing maxsize to lru_cache.
1 parent 6eefe3d commit f18dc56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/gcc_autotuning/tune_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def system_has_functional_gcc(gcc_path: str) -> bool:
4545
return False
4646

4747

48-
@lru_cache
48+
@lru_cache(maxsize=1)
4949
def gcc_bins() -> Iterable[str]:
5050
"""Return a list of available GCCs."""
5151
if docker_is_available():

0 commit comments

Comments
 (0)