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

Function test_available

lib/matplotlib/tests/test_style.py:50–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48
49
50def test_available():
51 # Private name should not be listed in available but still usable.
52 assert '_classic_test_patch' not in style.available
53 assert '_classic_test_patch' in style.library
54
55 with temp_style('_test_', DUMMY_SETTINGS), temp_style('dummy', DUMMY_SETTINGS):
56 assert 'dummy' in style.available
57 assert 'dummy' in style.library
58 assert '_test_' not in style.available
59 assert '_test_' in style.library
60 assert 'dummy' not in style.available
61 assert '_test_' not in style.available
62
63
64def test_use():

Callers

nothing calls this directly

Calls 1

temp_styleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…