From 7ee384e1de5812a4a823ce89c0816a6d9adfa1c0 Mon Sep 17 00:00:00 2001 From: Alex Barghi <105237337+alexbarghi-nv@users.noreply.github.com> Date: Fri, 26 May 2023 15:26:24 -0400 Subject: [PATCH] Fix MG Test Failing due to Removal of np.float (#3621) Updates a test that was using `np.float` to use `np.float64` instead to resolve a test failure. Authors: - Alex Barghi (https://github.com/alexbarghi-nv) Approvers: - Vibhu Jawa (https://github.com/VibhuJawa) - Brad Rees (https://github.com/BradReesWork) URL: https://github.com/rapidsai/cugraph/pull/3621 --- python/cugraph/cugraph/tests/internals/test_renumber_mg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/cugraph/cugraph/tests/internals/test_renumber_mg.py b/python/cugraph/cugraph/tests/internals/test_renumber_mg.py index f1c503ab6f7..cc7ee0368a5 100644 --- a/python/cugraph/cugraph/tests/internals/test_renumber_mg.py +++ b/python/cugraph/cugraph/tests/internals/test_renumber_mg.py @@ -113,7 +113,7 @@ def test_mg_renumber_add_internal_vertex_id(graph_file, dask_client): gdf["dst_old"] = destinations gdf["src"] = sources + translate gdf["dst"] = destinations + translate - gdf["weight"] = gdf.index.astype(np.float) + gdf["weight"] = gdf.index.astype(np.float64) ddf = dask.dataframe.from_pandas( gdf, npartitions=len(dask_client.scheduler_info()["workers"])