Skip to content

Commit

Permalink
check dealloc
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarghi-nv committed Oct 17, 2024
1 parent 6082e0d commit 9c4c15b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/pylibcugraph/pylibcugraph/tests/test_lookup_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ def test_lookup_table():
do_expensive_check=True,
)

# call __dealloc__()
table = EdgeIdLookupTable(ResourceHandle(), graph)

assert table is not None
Expand All @@ -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

0 comments on commit 9c4c15b

Please sign in to comment.