Skip to content

Commit 2015cc6

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ee22fa1 commit 2015cc6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_call_with_max_age.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from datetime import timedelta
33

44
import pytest
5+
56
import cachier
67

78

@@ -129,4 +130,4 @@ def f(x):
129130
v2 = f(1, max_age=timedelta(seconds=0.5))
130131
# With next_time=True, should return stale value (v1) while
131132
# triggering a recalculation in the background
132-
assert v2 == v1
133+
assert v2 == v1

0 commit comments

Comments
 (0)