Commit 4ef97b9
committed
Remove newline from start of deprecation warnings
This breaks the summary from Pytest when warnings are errors, as then
you just get a bunch of:
```
FAILED lib/matplotlib/tests/test_getattr.py::test_getattr[matplotlib.afm] - matplotlib._api.deprecation.MatplotlibDeprecationWarning:
```
with no real context as to the problem.
Also, as noted at the original PR [1], it makes setting `filterwarnings`
more complicated.
[1] matplotlib#11224 (comment)1 parent e49d6b6 commit 4ef97b9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments