MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_set_params

Method test_set_params

lib/matplotlib/tests/test_ticker.py:410–417  ·  view source on GitHub ↗

Create null locator, and attempt to call set_params() on it. Should not exception, and should raise a warning.

(self)

Source from the content-addressed store, hash-verified

408
409class 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
420class _LogitHelper:

Callers

nothing calls this directly

Calls 1

set_paramsMethod · 0.45

Tested by

no test coverage detected