@@ -335,7 +335,8 @@ def line_by_line_compare(a, b):
335
335
b = textwrap .dedent (b )
336
336
a = [l .rstrip () for l in _strip_blank_lines (a ).split ('\n ' )]
337
337
b = [l .rstrip () for l in _strip_blank_lines (b ).split ('\n ' )]
338
- assert all (x == y for x , y in zip (a , b ))
338
+ for ii , (aa , bb ) in enumerate (zip (a , b )):
339
+ assert aa == bb
339
340
340
341
341
342
def test_str ():
@@ -1279,33 +1280,33 @@ def test_args_and_kwargs():
1279
1280
"""
1280
1281
1281
1282
1282
- xref_doc_txt_expected = """
1283
+ xref_doc_txt_expected = r """
1283
1284
Test xref in Parameters, Other Parameters and Returns
1284
1285
1285
1286
1286
1287
:Parameters:
1287
1288
1288
- p1 : :xref_param_type:`int`
1289
+ **p1** : :xref_param_type:`int`
1289
1290
Integer value
1290
1291
1291
- p2 : :xref_param_type:`float`, optional
1292
+ **p2** : :xref_param_type:`float`, optional
1292
1293
Integer value
1293
1294
1294
1295
:Returns:
1295
1296
1296
- out : :xref_param_type:`array <numpy.ndarray>`
1297
+ ** out** : :xref_param_type:`array <numpy.ndarray>`
1297
1298
Numerical return value
1298
1299
1299
1300
1300
1301
:Other Parameters:
1301
1302
1302
- p3 : :xref_param_type:`list`\[:xref_param_type:`int`]
1303
+ **p3** : :xref_param_type:`list`\[:xref_param_type:`int`]
1303
1304
List of integers
1304
1305
1305
- p4 : :class:`pandas.DataFrame`
1306
+ **p4** : :class:`pandas.DataFrame`
1306
1307
A dataframe
1307
1308
1308
- p5 : :term:`python:sequence` of :xref_param_type:`int`
1309
+ **p5** : :term:`python:sequence` of :xref_param_type:`int`
1309
1310
A sequence
1310
1311
"""
1311
1312
0 commit comments