Skip to content

Commit 8dab81f

Browse files
committed
MNT: make keys Path objects
1 parent cae421b commit 8dab81f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/testing/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ def _load_imagelist(target_file):
504504
with open(target_file) as fin:
505505
for ln in fin:
506506
fname, rev, ts = ln.strip().split(":")
507-
ret.append([fname, int(rev), float(ts)])
507+
ret.append([Path(fname), int(rev), float(ts)])
508508

509509
return {fname: {"rev": rev, "ts": ts} for fname, rev, ts in ret}
510510

0 commit comments

Comments
 (0)