mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-07 13:54:45 +03:00
Partial test for font not found; Travis is Linux but has no XDG_DATA_DIRS env variable
This commit is contained in:
parent
0907ab0ccf
commit
cef6a2c22c
|
@ -133,3 +133,8 @@ def test_unrotated_transposed_font():
|
||||||
assert_equal(box_size_a, box_size_b)
|
assert_equal(box_size_a, box_size_b)
|
||||||
|
|
||||||
|
|
||||||
|
def test_font_not_found():
|
||||||
|
assert_exception(IOError, lambda: ImageFont.truetype("/fake/font.ttf"))
|
||||||
|
|
||||||
|
|
||||||
|
# End of file
|
||||||
|
|
Loading…
Reference in New Issue
Block a user