Commit c1b430b
committed
Fix image testing decorator in pytest importlib mode
In importlib mode, files are not added to `sys.modules`, so we cannot
use that to find the file path.
Fixes matplotlib#218851 parent 5bb1449 commit c1b430b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
505 | | - | |
| 505 | + | |
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
| |||
0 commit comments