8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d94a6a5 commit 147890eCopy full SHA for 147890e
lib/matplotlib/tests/test_font_manager.py
@@ -31,6 +31,15 @@ def test_font_priority():
31
assert cmap[8729] == 30
32
33
34
+def test_score_weight():
35
+ assert (0 ==
36
+ fontManager.score_weight("regular", "regular") ==
37
+ fontManager.score_weight("bold", "bold") <
38
+ fontManager.score_weight("normal", "regular") ==
39
+ fontManager.score_weight(400, 400) <
40
+ fontManager.score_weight("normal", "bold"))
41
+
42
43
def test_json_serialization():
44
# on windows, we can't open a file twice, so save the name and unlink
45
# manually...
0 commit comments