@@ -49,7 +49,7 @@ def test_raises_on_bad_dot_property(some_fig):
49
49
e .args [0 ].find (
50
50
"""Bad property path:
51
51
layout.shapes[1].x2000
52
- ^"""
52
+ ^^^^^ """
53
53
)
54
54
>= 0
55
55
)
@@ -68,7 +68,7 @@ def test_raises_on_bad_ancestor_dot_property(some_fig):
68
68
e .args [0 ].find (
69
69
"""Bad property path:
70
70
layout.shapa[1].x2000
71
- ^"""
71
+ ^^^^^ """
72
72
)
73
73
>= 0
74
74
)
@@ -99,7 +99,7 @@ def test_raises_on_bad_indexed_underscore_property(some_fig):
99
99
"""
100
100
Bad property path:
101
101
colr
102
- ^""" ,
102
+ ^^^^ """ ,
103
103
)
104
104
# if the string starts with "Bad property path:" then this test cannot work
105
105
# this way.
@@ -116,14 +116,14 @@ def test_raises_on_bad_indexed_underscore_property(some_fig):
116
116
"""
117
117
Bad property path:
118
118
data[0].line_colr
119
- ^""" ,
119
+ ^^^^ """ ,
120
120
)
121
121
assert (
122
122
(
123
123
e .args [0 ].find (
124
124
"""Bad property path:
125
125
data[0].line_colr
126
- ^"""
126
+ ^^^^ """
127
127
)
128
128
>= 0
129
129
)
@@ -142,7 +142,7 @@ def test_raises_on_bad_indexed_underscore_property(some_fig):
142
142
"""
143
143
Bad property path:
144
144
colr
145
- ^""" ,
145
+ ^^^^ """ ,
146
146
)
147
147
assert raised
148
148
@@ -159,14 +159,14 @@ def test_raises_on_bad_indexed_underscore_property(some_fig):
159
159
"""
160
160
Bad property path:
161
161
line_colr
162
- ^""" ,
162
+ ^^^^ """ ,
163
163
)
164
164
assert (
165
165
(
166
166
e .args [0 ].find (
167
167
"""Bad property path:
168
168
line_colr
169
- ^"""
169
+ ^^^^ """
170
170
)
171
171
>= 0
172
172
)
@@ -187,7 +187,7 @@ def test_raises_on_bad_indexed_underscore_property(some_fig):
187
187
"""
188
188
Bad property path:
189
189
txt
190
- ^""" ,
190
+ ^^^ """ ,
191
191
)
192
192
assert raised
193
193
@@ -204,7 +204,7 @@ def test_raises_on_bad_indexed_underscore_property(some_fig):
204
204
"""
205
205
Bad property path:
206
206
layout_title_txt
207
- ^""" ,
207
+ ^^^ """ ,
208
208
)
209
209
# also remove the invalid Figure property string added by the Figure constructor
210
210
e_substr = error_substr (
@@ -217,7 +217,7 @@ def test_raises_on_bad_indexed_underscore_property(some_fig):
217
217
e .args [0 ].find (
218
218
"""Bad property path:
219
219
layout_title_txt
220
- ^"""
220
+ ^^^ """
221
221
)
222
222
>= 0
223
223
)
@@ -237,7 +237,7 @@ def test_raises_on_bad_indexed_underscore_property(some_fig):
237
237
"""
238
238
Bad property path:
239
239
ltaxis
240
- ^""" ,
240
+ ^^^^^^ """ ,
241
241
)
242
242
assert raised
243
243
@@ -251,14 +251,14 @@ def test_raises_on_bad_indexed_underscore_property(some_fig):
251
251
"""
252
252
Bad property path:
253
253
geo_ltaxis_showgrid
254
- ^""" ,
254
+ ^^^^^^ """ ,
255
255
)
256
256
assert (
257
257
(
258
258
e .args [0 ].find (
259
259
"""Bad property path:
260
260
geo_ltaxis_showgrid
261
- ^"""
261
+ ^^^^^^ """
262
262
)
263
263
>= 0
264
264
)
@@ -303,15 +303,15 @@ def test_describes_subscripting_error(some_fig):
303
303
304
304
Property does not support subscripting:
305
305
text_yo
306
- ~~~~ """ ,
306
+ ^^^^ """ ,
307
307
)
308
308
assert (
309
309
(
310
310
e .args [0 ].find (
311
311
"""
312
312
Property does not support subscripting:
313
313
text_yo
314
- ~~~~ """
314
+ ^^^^ """
315
315
)
316
316
>= 0
317
317
)
@@ -346,15 +346,15 @@ def test_describes_subscripting_error(some_fig):
346
346
347
347
Property does not support subscripting:
348
348
textfont_family_yo
349
- ~~~~~~ """ ,
349
+ ^^^^^^ """ ,
350
350
)
351
351
assert (
352
352
(
353
353
e .args [0 ].find (
354
354
"""
355
355
Property does not support subscripting:
356
356
textfont_family_yo
357
- ~~~~~~ """
357
+ ^^^^^^ """
358
358
)
359
359
>= 0
360
360
)
@@ -389,7 +389,7 @@ def test_described_subscript_error_on_type_error(some_fig):
389
389
390
390
Property does not support subscripting:
391
391
template_layout_plot_bgcolor_x
392
- ~~~~~~~~~~~~ """
392
+ ^^^^^^^^^^^^ """
393
393
assert raised
394
394
raised = False
395
395
try :
0 commit comments