Commit f2c2920
committed
Let triage_tests support test modules with only figure_equals tests.
If there's only check_figure_equals tests in a module (e.g. test_pickle,
test_axis) then there's no directory in the baseline_images test, but
it still makes sense to run triage_tests in case of test failure.
Previously, the missing directory caused an error; this patches fixes
that. To test this, change e.g. one of the check_figures_equal
tests in test_pickle to make it fail, run that test, and run
tools/triage_tests.py.1 parent 1f8ff33 commit f2c2920
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
285 | 284 | | |
286 | 285 | | |
287 | 286 | | |
| |||
0 commit comments