Create null locator, and attempt to call set_params() on it. Should not exception, and should raise a warning.
(self)
| 408 | |
| 409 | class TestNullLocator: |
| 410 | def test_set_params(self): |
| 411 | """ |
| 412 | Create null locator, and attempt to call set_params() on it. |
| 413 | Should not exception, and should raise a warning. |
| 414 | """ |
| 415 | loc = mticker.NullLocator() |
| 416 | with pytest.warns(UserWarning): |
| 417 | loc.set_params() |
| 418 | |
| 419 | |
| 420 | class _LogitHelper: |
nothing calls this directly
no test coverage detected