Commit 182bc0b
committed
TST: Prepare for pytest 9
The current version of pytest is warning that using `importorskip` to
catch `ImportError` will start being ignored (and thus raising) with
pytest 9.
Fortunately, in all cases, we don't need these calls, as they are:
- already checked for `ImportError` at the top-level of the file
- already checked by the backend switcher
- not actually possible to fail importing1 parent a4243d9 commit 182bc0b
File tree
3 files changed
+4
-9
lines changed- lib/matplotlib/tests
3 files changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
325 | 327 | | |
326 | 328 | | |
327 | 329 | | |
328 | | - | |
329 | | - | |
330 | | - | |
| 330 | + | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 6 | | |
10 | 7 | | |
11 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 29 | + | |
32 | 30 | | |
33 | 31 | | |
34 | 32 | | |
| |||
0 commit comments