Commit 7c7f94c
authored
TST: Fix minor issues in interactive backend test (matplotlib#28838)
- Close the figure immediately, to avoid the deprecation warning about
automatically closing figure when changing backends. This test doesn't
intend to test the warning, just the change behaviour itself.
- Enable the post-`show()` result check everywhere. The comment implies
it should only be skipped on `(macOS and Qt5)`, but the condition is
actually only enabled on `macOS and (not Qt5)`.1 parent 24c5048 commit 7c7f94c
1 file changed
+4
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
| 174 | + | |
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
| |||
228 | 229 | | |
229 | 230 | | |
230 | 231 | | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
| 232 | + | |
235 | 233 | | |
236 | 234 | | |
237 | 235 | | |
| |||
448 | 446 | | |
449 | 447 | | |
450 | 448 | | |
451 | | - | |
452 | | - | |
| 449 | + | |
453 | 450 | | |
454 | 451 | | |
455 | 452 | | |
| |||
0 commit comments