@@ -187,7 +187,9 @@ def test_extended_summary(doc):
187
187
def test_parameters (doc ):
188
188
assert len (doc ["Parameters" ]) == 4
189
189
names = [n for n , _ , _ in doc ["Parameters" ]]
190
- assert all (a == b for a , b in zip (names , ["mean" , "cov" , "shape" , "dtype" ], strict = True ))
190
+ assert all (
191
+ a == b for a , b in zip (names , ["mean" , "cov" , "shape" , "dtype" ], strict = True )
192
+ )
191
193
192
194
arg , arg_type , desc = doc ["Parameters" ][1 ]
193
195
assert arg_type == "(N, N) ndarray"
@@ -242,7 +244,9 @@ def test_yields():
242
244
("b" , "int" , "bananas." ),
243
245
("" , "int" , "unknowns." ),
244
246
]
245
- for (arg , arg_type , desc ), (arg_ , arg_type_ , end ) in zip (section , truth , strict = True ):
247
+ for (arg , arg_type , desc ), (arg_ , arg_type_ , end ) in zip (
248
+ section , truth , strict = True
249
+ ):
246
250
assert arg == arg_
247
251
assert arg_type == arg_type_
248
252
assert desc [0 ].startswith ("The number of" )
@@ -253,7 +257,9 @@ def test_sent():
253
257
section = doc_sent ["Receives" ]
254
258
assert len (section ) == 2
255
259
truth = [("b" , "int" , "bananas." ), ("c" , "int" , "oranges." )]
256
- for (arg , arg_type , desc ), (arg_ , arg_type_ , end ) in zip (section , truth , strict = True ):
260
+ for (arg , arg_type , desc ), (arg_ , arg_type_ , end ) in zip (
261
+ section , truth , strict = True
262
+ ):
257
263
assert arg == arg_
258
264
assert arg_type == arg_type_
259
265
assert desc [0 ].startswith ("The number of" )
0 commit comments