Skip to content

Commit 32e50c2

Browse files
committed
fix: use decorator variant with arguments
The variant of the decorator without arguments was added in Python 3.8.
1 parent a3de0cd commit 32e50c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reframe/core/modules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ def available_modules(self, substr):
10311031

10321032
return ret
10331033

1034-
@functools.lru_cache
1034+
@functools.lru_cache(maxsize=128)
10351035
def conflicted_modules(self, module):
10361036
if module.collection:
10371037
# Conflicts have no meaning in module collection. The modules

0 commit comments

Comments
 (0)