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 025cbe7 commit c5640efCopy full SHA for c5640ef
Lib/test/test_functools.py
@@ -1414,7 +1414,7 @@ def test_lru_reentrancy_with_len(self):
1414
1415
def test_lru_star_arg_handling(self):
1416
# Test regression that arose in ea064ff3c10f
1417
- @functools.lru_cache()
+ @self.module.lru_cache()
1418
def f(*args):
1419
return args
1420
@@ -1426,11 +1426,11 @@ def test_lru_type_error(self):
1426
# lru_cache was leaking when one of the arguments
1427
# wasn't cacheable.
1428
1429
- @functools.lru_cache(maxsize=None)
+ @self.module.lru_cache(maxsize=None)
1430
def infinite_cache(o):
1431
pass
1432
1433
- @functools.lru_cache(maxsize=10)
+ @self.module.lru_cache(maxsize=10)
1434
def limited_cache(o):
1435
1436
0 commit comments