File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,9 +34,12 @@ def test_font_priority():
3434def 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
4245def test_json_serialization ():
You can’t perform that action at this time.
0 commit comments