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 0d51e03 commit 9de06c0Copy full SHA for 9de06c0
lib/matplotlib/tests/test_cache.py
@@ -15,8 +15,10 @@
15
def test_cache_basic(tmpdir):
16
def intmp(f):
17
return tmpdir.join(f)
18
+
19
def fname(f):
20
return str(intmp(f))
21
22
try:
23
cache = _ConversionCache(fname('cache'))
24
intmp('fake.pdf').write_binary(b'this is a fake pdf file')
@@ -49,8 +51,10 @@ def fname(f):
49
51
def test_cache_expire(tmpdir):
50
52
def intmp(*f):
53
return tmpdir.join(*f)
54
55
def fname(*f):
56
return str(intmp(*f))
57
58
59
cache = _ConversionCache(fname('cache'), 10)
60
for i in range(5):
0 commit comments