(monkeypatch)
| 601 | |
| 602 | |
| 603 | def test_deprecation(monkeypatch): |
| 604 | mpl.rcParams.update(mpl.rcParams.copy()) # Doesn't warn. |
| 605 | # Note that the warning suppression actually arises from the |
| 606 | # iteration over the updater rcParams being protected by |
| 607 | # suppress_matplotlib_deprecation_warning, rather than any explicit check. |
| 608 | |
| 609 | |
| 610 | @pytest.mark.parametrize("value", [ |