Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b0bf8fb

Browse files
committed
TST: extend ft2font tests to pdf and eps as well
1 parent d613370 commit b0bf8fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_ft2font.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_fallback_smoke():
5959
[("WenQuanYi Zen Hei", "wqy-zenhei.ttc"),
6060
("Noto Sans CJK JP", "NotoSansCJK-Regular.ttc")]
6161
)
62-
@check_figures_equal(extensions=["png"])
62+
@check_figures_equal(extensions=["png", "pdf", "eps"])
6363
def test_font_fallback_chinese(fig_test, fig_ref, family_name, file_name):
6464
fp = fm.FontProperties(family=[family_name])
6565
if Path(fm.findfont(fp)).name != file_name:

0 commit comments

Comments
 (0)