@@ -49,7 +49,7 @@ def test_raises_on_bad_dot_property(some_fig):
4949 e .args [0 ].find (
5050 """Bad property path:
5151layout.shapes[1].x2000
52- ^"""
52+ ^^^^^ """
5353 )
5454 >= 0
5555 )
@@ -68,7 +68,7 @@ def test_raises_on_bad_ancestor_dot_property(some_fig):
6868 e .args [0 ].find (
6969 """Bad property path:
7070layout.shapa[1].x2000
71- ^"""
71+ ^^^^^ """
7272 )
7373 >= 0
7474 )
@@ -99,7 +99,7 @@ def test_raises_on_bad_indexed_underscore_property(some_fig):
9999 """
100100Bad property path:
101101colr
102- ^""" ,
102+ ^^^^ """ ,
103103 )
104104 # if the string starts with "Bad property path:" then this test cannot work
105105 # this way.
@@ -116,14 +116,14 @@ def test_raises_on_bad_indexed_underscore_property(some_fig):
116116 """
117117Bad property path:
118118data[0].line_colr
119- ^""" ,
119+ ^^^^ """ ,
120120 )
121121 assert (
122122 (
123123 e .args [0 ].find (
124124 """Bad property path:
125125data[0].line_colr
126- ^"""
126+ ^^^^ """
127127 )
128128 >= 0
129129 )
@@ -142,7 +142,7 @@ def test_raises_on_bad_indexed_underscore_property(some_fig):
142142 """
143143Bad property path:
144144colr
145- ^""" ,
145+ ^^^^ """ ,
146146 )
147147 assert raised
148148
@@ -159,14 +159,14 @@ def test_raises_on_bad_indexed_underscore_property(some_fig):
159159 """
160160Bad property path:
161161line_colr
162- ^""" ,
162+ ^^^^ """ ,
163163 )
164164 assert (
165165 (
166166 e .args [0 ].find (
167167 """Bad property path:
168168line_colr
169- ^"""
169+ ^^^^ """
170170 )
171171 >= 0
172172 )
@@ -187,7 +187,7 @@ def test_raises_on_bad_indexed_underscore_property(some_fig):
187187 """
188188Bad property path:
189189txt
190- ^""" ,
190+ ^^^ """ ,
191191 )
192192 assert raised
193193
@@ -204,7 +204,7 @@ def test_raises_on_bad_indexed_underscore_property(some_fig):
204204 """
205205Bad property path:
206206layout_title_txt
207- ^""" ,
207+ ^^^ """ ,
208208 )
209209 # also remove the invalid Figure property string added by the Figure constructor
210210 e_substr = error_substr (
@@ -217,7 +217,7 @@ def test_raises_on_bad_indexed_underscore_property(some_fig):
217217 e .args [0 ].find (
218218 """Bad property path:
219219layout_title_txt
220- ^"""
220+ ^^^ """
221221 )
222222 >= 0
223223 )
@@ -237,7 +237,7 @@ def test_raises_on_bad_indexed_underscore_property(some_fig):
237237 """
238238Bad property path:
239239ltaxis
240- ^""" ,
240+ ^^^^^^ """ ,
241241 )
242242 assert raised
243243
@@ -251,14 +251,14 @@ def test_raises_on_bad_indexed_underscore_property(some_fig):
251251 """
252252Bad property path:
253253geo_ltaxis_showgrid
254- ^""" ,
254+ ^^^^^^ """ ,
255255 )
256256 assert (
257257 (
258258 e .args [0 ].find (
259259 """Bad property path:
260260geo_ltaxis_showgrid
261- ^"""
261+ ^^^^^^ """
262262 )
263263 >= 0
264264 )
@@ -303,15 +303,15 @@ def test_describes_subscripting_error(some_fig):
303303
304304Property does not support subscripting:
305305text_yo
306- ~~~~ """ ,
306+ ^^^^ """ ,
307307 )
308308 assert (
309309 (
310310 e .args [0 ].find (
311311 """
312312Property does not support subscripting:
313313text_yo
314- ~~~~ """
314+ ^^^^ """
315315 )
316316 >= 0
317317 )
@@ -346,15 +346,15 @@ def test_describes_subscripting_error(some_fig):
346346
347347Property does not support subscripting:
348348textfont_family_yo
349- ~~~~~~ """ ,
349+ ^^^^^^ """ ,
350350 )
351351 assert (
352352 (
353353 e .args [0 ].find (
354354 """
355355Property does not support subscripting:
356356textfont_family_yo
357- ~~~~~~ """
357+ ^^^^^^ """
358358 )
359359 >= 0
360360 )
@@ -389,7 +389,7 @@ def test_described_subscript_error_on_type_error(some_fig):
389389
390390Property does not support subscripting:
391391template_layout_plot_bgcolor_x
392- ~~~~~~~~~~~~ """
392+ ^^^^^^^^^^^^ """
393393 assert raised
394394 raised = False
395395 try :
0 commit comments