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

Function test_update_mutate_input

lib/matplotlib/tests/test_text.py:788–795  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

786
787
788def test_update_mutate_input():
789 inp = dict(fontproperties=FontProperties(weight="bold"),
790 bbox=None)
791 cache = dict(inp)
792 t = Text()
793 t.update(inp)
794 assert inp['fontproperties'] == cache['fontproperties']
795 assert inp['bbox'] == cache['bbox']
796
797
798@pytest.mark.parametrize('rotation', ['invalid string', [90]])

Callers

nothing calls this directly

Calls 3

updateMethod · 0.95
FontPropertiesClass · 0.90
TextClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…