Skip to content

Commit

Permalink
update test on label shape
Browse files Browse the repository at this point in the history
  • Loading branch information
rudongyu committed Mar 22, 2023
1 parent 4b9ac2a commit 8aafc35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/python/common/data/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,8 @@ def test_zinc():
g2, _ = dataset2[0]

assert g2.num_edges() - g1.num_edges() == g1.num_nodes()
assert label.shape[0] == 1
# return a scalar tensor
assert not label.shape


@unittest.skipIf(
Expand Down

0 comments on commit 8aafc35

Please sign in to comment.