Skip to content

Commit cfd62c5

Browse files
committed
functools.lru_cache needs parentheses on 3.6 and 3.7
1 parent 6f76d23 commit cfd62c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coverage_pyver_pragma/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"""
5959

6060

61-
@functools.lru_cache
61+
@functools.lru_cache()
6262
def evaluate_exclude(expression: str) -> bool:
6363
"""
6464
Evaluate the given expression to determine whether the line should be excluded from coverage.

0 commit comments

Comments
 (0)