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

Fix assert_eq related imports #757

Merged
merged 1 commit into from
Jun 30, 2021
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
2 changes: 1 addition & 1 deletion debug-tests/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ async def read():
# cuda_obj_generator = cloudpickle.loads(func)
# pure_cuda_obj = cuda_obj_generator()

# from cudf.tests.utils import assert_eq
# from cudf.testing._utils import assert_eq
# import cupy as cp

# if isinstance(rx_cuda_obj, cp.ndarray):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_custom_send_recv.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async def serve_forever(ep):
typ = type(msg)
res = typ.deserialize(ucx_header, cudf_buffer)

from cudf.tests.utils import assert_eq
from cudf.testing._utils import assert_eq

assert_eq(res, msg)
await uu.comm.ep.close()
Expand Down
4 changes: 2 additions & 2 deletions tests/test_send_recv_two_workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from distributed.protocol import to_serialize
from distributed.utils import nbytes

import cudf.tests.utils
import cudf.testing._utils

import ucp

Expand Down Expand Up @@ -89,7 +89,7 @@ async def read():
if isinstance(rx_cuda_obj, cupy.ndarray):
cupy.testing.assert_allclose(rx_cuda_obj, pure_cuda_obj)
else:
cudf.tests.utils.assert_eq(rx_cuda_obj, pure_cuda_obj)
cudf.testing._utils.assert_eq(rx_cuda_obj, pure_cuda_obj)


def server(port, func, comm_api):
Expand Down