(input)
| 878 | ], |
| 879 | ) |
| 880 | def 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 | |
| 887 | def test_ft2font_language(): |