Skip to content

Commit d515587

Browse files
committed
Skip fontconfig test on win32
1 parent f111088 commit d515587

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/matplotlib/tests/test_font_manager.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,15 @@
55
import six
66

77
import os
8-
8+
import sys
99
import tempfile
1010
import warnings
1111

1212
from matplotlib.font_manager import (
1313
findfont, FontProperties, fontManager, json_dump, json_load, get_font,
1414
get_fontconfig_fonts, is_opentype_cff_font, fontManager as fm)
15-
import os.path
16-
17-
1815
from matplotlib import rc_context
16+
from matplotlib.testing.decorators import skipif
1917

2018

2119
def test_font_priority():
@@ -67,5 +65,6 @@ def test_otf():
6765
assert res == is_opentype_cff_font(f)
6866

6967

68+
@skipif(sys.platform == 'win32', reason='no fontconfig on Windows')
7069
def test_get_fontconfig_fonts():
7170
assert len(get_fontconfig_fonts()) > 1

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy