Skip to content

Commit fa72d69

Browse files
committed
add test of cvar removal when cvar not present
1 parent f487c99 commit fa72d69

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

tests/test_font.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,13 @@ def test_delete_cvar_table():
152152
assert ("cvar" in tt) is False
153153

154154

155+
def test_delete_cvar_table_when_not_vf():
156+
tt = TTFont(FILEPATH_HINTED_TTF)
157+
assert ("cvar" in tt) is False
158+
remove_cvar_table(tt)
159+
assert ("cvar" in tt) is False
160+
161+
155162
def test_delete_cvt_table():
156163
tt = TTFont(FILEPATH_HINTED_TTF)
157164
assert ("cvt " in tt) is True

0 commit comments

Comments
 (0)