Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 27, 2023
1 parent 51f30c9 commit 841e7ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/loader/test_link_neighbor_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ def test_temporal_homo_link_neighbor_loader():
)

for sample in loader:
assert sample.edge_label_index.size() == (batch_size,)
assert sample.edge_label_time.size() == (batch_size,)
assert sample.edge_label_index.size() == (batch_size, )
assert sample.edge_label_time.size() == (batch_size, )
assert torch.all(
sample.edge_time <= sample.edge_label_time
), "The target time should be later than all timestamps in the subgraph"
Expand Down

0 comments on commit 841e7ec

Please sign in to comment.