@@ -311,7 +311,7 @@ def test_create_data_grid_range():
311
311
family = "GMT_IS_GRID|GMT_VIA_MATRIX" ,
312
312
geometry = "GMT_IS_SURFACE" ,
313
313
mode = "GMT_CONTAINER_ONLY" ,
314
- ranges = [150. , 250. , - 20. , 20. ],
314
+ ranges = [150.0 , 250.0 , - 20.0 , 20.0 ],
315
315
inc = [0.1 , 0.2 ],
316
316
)
317
317
@@ -326,7 +326,7 @@ def test_create_data_fails():
326
326
geometry = "GMT_IS_SURFACE" ,
327
327
mode = "Not_a_valid_mode" ,
328
328
dim = [0 , 0 , 1 , 0 ],
329
- ranges = [150. , 250. , - 20. , 20. ],
329
+ ranges = [150.0 , 250.0 , - 20.0 , 20.0 ],
330
330
inc = [0.1 , 0.2 ],
331
331
)
332
332
# Passing in invalid geometry
@@ -337,7 +337,7 @@ def test_create_data_fails():
337
337
geometry = "Not_a_valid_geometry" ,
338
338
mode = "GMT_CONTAINER_ONLY" ,
339
339
dim = [0 , 0 , 1 , 0 ],
340
- ranges = [150. , 250. , - 20. , 20. ],
340
+ ranges = [150.0 , 250.0 , - 20.0 , 20.0 ],
341
341
inc = [0.1 , 0.2 ],
342
342
)
343
343
@@ -740,7 +740,7 @@ def test_extract_region_two_figures():
740
740
lib .call_module ("figure" , "{} -" .format (fig2 ._name ))
741
741
with clib .Session () as lib :
742
742
wesn2 = lib .extract_region ()
743
- npt .assert_allclose (wesn2 , np .array ([- 165. , - 150. , 15. , 25. ]))
743
+ npt .assert_allclose (wesn2 , np .array ([- 165.0 , - 150.0 , 15.0 , 25.0 ]))
744
744
745
745
746
746
def test_write_data_fails ():
0 commit comments