@@ -369,9 +369,9 @@ def test_to_prestep():
369369
370370 xs , y1s , y2s = cbook .pts_to_prestep (x , y1 , y2 )
371371
372- x_target = np .asarray ([0 , 0 , 1 , 1 , 2 , 2 , 3 ], dtype = ' float' )
373- y1_target = np .asarray ([0 , 1 , 1 , 2 , 2 , 3 , 3 ], dtype = ' float' )
374- y2_target = np .asarray ([3 , 2 , 2 , 1 , 1 , 0 , 0 ], dtype = ' float' )
372+ x_target = np .asarray ([0 , 0 , 1 , 1 , 2 , 2 , 3 ], dtype = float )
373+ y1_target = np .asarray ([0 , 1 , 1 , 2 , 2 , 3 , 3 ], dtype = float )
374+ y2_target = np .asarray ([3 , 2 , 2 , 1 , 1 , 0 , 0 ], dtype = float )
375375
376376 assert_array_equal (x_target , xs )
377377 assert_array_equal (y1_target , y1s )
@@ -394,9 +394,9 @@ def test_to_poststep():
394394
395395 xs , y1s , y2s = cbook .pts_to_poststep (x , y1 , y2 )
396396
397- x_target = np .asarray ([0 , 1 , 1 , 2 , 2 , 3 , 3 ], dtype = ' float' )
398- y1_target = np .asarray ([0 , 0 , 1 , 1 , 2 , 2 , 3 ], dtype = ' float' )
399- y2_target = np .asarray ([3 , 3 , 2 , 2 , 1 , 1 , 0 ], dtype = ' float' )
397+ x_target = np .asarray ([0 , 1 , 1 , 2 , 2 , 3 , 3 ], dtype = float )
398+ y1_target = np .asarray ([0 , 0 , 1 , 1 , 2 , 2 , 3 ], dtype = float )
399+ y2_target = np .asarray ([3 , 3 , 2 , 2 , 1 , 1 , 0 ], dtype = float )
400400
401401 assert_array_equal (x_target , xs )
402402 assert_array_equal (y1_target , y1s )
@@ -419,9 +419,9 @@ def test_to_midstep():
419419
420420 xs , y1s , y2s = cbook .pts_to_midstep (x , y1 , y2 )
421421
422- x_target = np .asarray ([0 , .5 , .5 , 1.5 , 1.5 , 2.5 , 2.5 , 3 ], dtype = ' float' )
423- y1_target = np .asarray ([0 , 0 , 1 , 1 , 2 , 2 , 3 , 3 ], dtype = ' float' )
424- y2_target = np .asarray ([3 , 3 , 2 , 2 , 1 , 1 , 0 , 0 ], dtype = ' float' )
422+ x_target = np .asarray ([0 , .5 , .5 , 1.5 , 1.5 , 2.5 , 2.5 , 3 ], dtype = float )
423+ y1_target = np .asarray ([0 , 0 , 1 , 1 , 2 , 2 , 3 , 3 ], dtype = float )
424+ y2_target = np .asarray ([3 , 3 , 2 , 2 , 1 , 1 , 0 , 0 ], dtype = float )
425425
426426 assert_array_equal (x_target , xs )
427427 assert_array_equal (y1_target , y1s )
0 commit comments