Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiang Song committed Dec 15, 2023
1 parent 3b00e61 commit 98d6aae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit-tests/gconstruct/test_construct_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -990,8 +990,8 @@ def check_map_node_ids_dst_not_exist(str_src_ids, str_dst_ids, id_map):
assert len(new_src_ids) == num_valid
assert len(new_dst_ids) == num_valid
assert src_exist_locs is None
assert_equal(src_ids[dst_exist_locs].astype(np.int64), new_src_ids)
assert_equal(dst_ids[dst_exist_locs].astype(np.int64), new_dst_ids)
assert_equal(src_ids[dst_exist_locs].astype(np.int64).reshape((-1,)), new_src_ids)
assert_equal(dst_ids[dst_exist_locs].astype(np.int64).reshape((-1,)), new_dst_ids)
assert dst_exist_locs is not None

# Test the case that none of the destination node IDs exists and we skip non exist edges.
Expand Down

0 comments on commit 98d6aae

Please sign in to comment.