@@ -165,7 +165,7 @@ def test_numpy_record_array():
165
165
na = numpy .asarray ([("Alice" , 23 , 169.5 ),
166
166
("Bob" , 27 , 175.0 )],
167
167
dtype = {"names" :["name" ,"age" ,"height" ],
168
- "formats" :["a32" ,"uint8" ,"f32 " ]})
168
+ "formats" :["a32" ,"uint8" ,"float32 " ]})
169
169
expected = "\n " .join ([
170
170
"----- -- -----" ,
171
171
"Alice 23 169.5" ,
@@ -185,7 +185,7 @@ def test_numpy_record_array_keys():
185
185
na = numpy .asarray ([("Alice" , 23 , 169.5 ),
186
186
("Bob" , 27 , 175.0 )],
187
187
dtype = {"names" :["name" ,"age" ,"height" ],
188
- "formats" :["a32" ,"uint8" ,"f32 " ]})
188
+ "formats" :["a32" ,"uint8" ,"float32 " ]})
189
189
expected = "\n " .join ([
190
190
"name age height" ,
191
191
"------ ----- --------" ,
@@ -205,7 +205,7 @@ def test_numpy_record_array_headers():
205
205
na = numpy .asarray ([("Alice" , 23 , 169.5 ),
206
206
("Bob" , 27 , 175.0 )],
207
207
dtype = {"names" :["name" ,"age" ,"height" ],
208
- "formats" :["a32" ,"uint8" ,"f32 " ]})
208
+ "formats" :["a32" ,"uint8" ,"float32 " ]})
209
209
expected = "\n " .join ([
210
210
"person years cm" ,
211
211
"-------- ------- -----" ,
0 commit comments