Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cuDF's assert_eq import #239

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ async def test_ping_pong_cudf(ucxx_loop, g):
# *** ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.11'
# not found (required by python3.7/site-packages/pyarrow/../../../libarrow.so.12)
cudf = pytest.importorskip("cudf")
from cudf.testing._utils import assert_eq
from cudf.testing import assert_eq

cudf_obj = g(cudf)

Expand Down
2 changes: 1 addition & 1 deletion python/ucxx/_lib_async/tests/test_custom_send_recv.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async def serve_forever(ep):
typ = type(msg)
res = typ.deserialize(ucx_header, cudf_buffer)

from cudf.testing._utils import assert_eq
from cudf.testing import assert_eq

assert_eq(res, msg)
await uu.comm.ep.close()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async def read():
if isinstance(rx_cuda_obj, cupy.ndarray):
cupy.testing.assert_allclose(rx_cuda_obj, pure_cuda_obj)
else:
from cudf.testing._utils import assert_eq
from cudf.testing import assert_eq

assert_eq(rx_cuda_obj, pure_cuda_obj)

Expand Down