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

Test fixtures #4241

Merged
merged 17 commits into from
Mar 12, 2022
Prev Previous commit
Next Next commit
fix test
  • Loading branch information
rusty1s committed Mar 12, 2022
commit 975854f31709cf97e49f7cff1a95b013c0f8ec47
2 changes: 1 addition & 1 deletion test/loader/test_hgt_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def test_hgt_loader():
# Test for isolated nodes (there shouldn't exist any):
n_id = torch.cat([batch['paper'].x, batch['author'].x])
row, col, _ = full_adj[n_id, n_id].coo()
assert torch.cat([row, col]).unique().numel() == 60
assert torch.cat([row, col]).unique().numel() >= 59


def test_hgt_loader_on_cora(get_dataset):
Expand Down