Skip to content

Commit

Permalink
fix imports (#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
galipremsagar authored Jun 30, 2021
1 parent 27f39c7 commit cf307e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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

0 comments on commit cf307e4

Please sign in to comment.