We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9fcae0 commit 21268c6Copy full SHA for 21268c6
1 file changed
lib/matplotlib/tests/test_rcparams.py
@@ -79,19 +79,12 @@ def test_RcParams_class():
79
'font.size': 12})
80
81
expected_repr = """
82
-RcParams({
83
- 'font.cursive': ['Zapf Chancery', 'cursive'],
+RcParams({'font.cursive': ['Zapf Chancery', 'cursive'],
84
'font.family': ['sans-serif'],
85
'font.size': 12.0,
86
- 'font.weight': 'normal',
87
- })""".lstrip()
+ 'font.weight': 'normal'})""".lstrip()
88
89
actual_repr = repr(rc)
90
- if sys.version_info[:2] < (3, 15):
91
- actual_repr = (actual_repr
92
- .replace("{'", "{\n '")
93
- .replace("'}", "',\n }"))
94
-
95
assert actual_repr == expected_repr
96
97
expected_str = """
0 commit comments