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

Function test_list_builtin

lib/matplotlib/tests/test_backend_registry.py:39–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37
38
39def test_list_builtin():
40 backends = backend_registry.list_builtin()
41 assert not has_duplicates(backends)
42 # Compare using sets as order is not important
43 assert {*backends} == {
44 'gtk3agg', 'gtk3cairo', 'gtk4agg', 'gtk4cairo', 'macosx', 'nbagg', 'notebook',
45 'qtagg', 'qtcairo', 'qt5agg', 'qt5cairo', 'tkagg',
46 'tkcairo', 'webagg', 'wx', 'wxagg', 'wxcairo', 'agg', 'cairo', 'pdf', 'pgf',
47 'ps', 'svg', 'template',
48 }
49
50
51@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

has_duplicatesFunction · 0.85
list_builtinMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…