From 9c4c15b733cc0f13af2f417b0490b33e84d6c914 Mon Sep 17 00:00:00 2001 From: Alexandria Barghi Date: Thu, 17 Oct 2024 12:49:21 -0700 Subject: [PATCH] check dealloc --- python/pylibcugraph/pylibcugraph/tests/test_lookup_table.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/pylibcugraph/pylibcugraph/tests/test_lookup_table.py b/python/pylibcugraph/pylibcugraph/tests/test_lookup_table.py index 18faa54c098..c2e49a4fe6d 100644 --- a/python/pylibcugraph/pylibcugraph/tests/test_lookup_table.py +++ b/python/pylibcugraph/pylibcugraph/tests/test_lookup_table.py @@ -80,7 +80,6 @@ def test_lookup_table(): do_expensive_check=True, ) - # call __dealloc__() table = EdgeIdLookupTable(ResourceHandle(), graph) assert table is not None @@ -96,3 +95,6 @@ def test_lookup_table(): found_edges = table.find(cupy.array([3, 1, 0, 5]), 6) assert (found_edges["sources"] == cupy.array([-1, 4, 5, -1])).all() assert (found_edges["destinations"] == cupy.array([-1, 1, 0, -1])).all() + + # call __dealloc__() + del table