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

Function test_ft2font_language_invalid

lib/matplotlib/tests/test_ft2font.py:880–884  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

878 ],
879)
880def test_ft2font_language_invalid(input):
881 file = fm.findfont('DejaVu Sans')
882 font = ft2font.FT2Font(file)
883 with pytest.raises(TypeError):
884 font.set_text('foo', language=input)
885
886
887def test_ft2font_language():

Callers

nothing calls this directly

Calls 2

findfontMethod · 0.80
set_textMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…