8000 PEP8 · matplotlib/matplotlib@42b1659 · GitHub
[go: up one dir, main page]

Skip to content

Commit 42b1659

Browse files
committed
PEP8
1 parent a7026e0 commit 42b1659

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lib/matplotlib/tests/test_font_manager.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,12 @@ def test_font_priority():
3434
def test_score_weight():
3535
assert 0 == fontManager.score_weight("regular", "regular")
3636
assert 0 == fontManager.score_weight("bold", "bold")
37-
assert 0 < fontManager.score_weight(400, 400) < fontManager.score_weight("normal", "bold")
38-
assert 0 < fontManager.score_weight("normal", "regular") < fontManager.score_weight("normal", "bold")
39-
assert fontManager.score_weight("normal", "regular") == fontManager.score_weight(400, 400)
37+
assert (0 < fontManager.score_weight(400, 400) <
38+
fontManager.score_weight("normal", "bold"))
39+
assert (0 < fontManager.score_weight("normal", "regular") <
40+
fontManager.score_weight("normal", "bold"))
41+
assert (fontManager.score_weight("normal", "regular") ==
42+
fontManager.score_weight(400, 400))
4043

4144

4245
def test_json_serialization():

0 commit comments

Comments
 (0)
0