Skip to content

Commit 69bf1e1

Browse files
committed
MNT: make keys Path objects
1 parent b1b8677 commit 69bf1e1

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy