diff --git a/CHANGELOG.md b/CHANGELOG.md index 104ebfa3b8f1..75826e1ccda6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). ### Added +- Added `torch_geometric.Index` ([#9276](https://github.com/pyg-team/pytorch_geometric/pull/9276)) - Added support for PyTorch 2.3 ([#9240](https://github.com/pyg-team/pytorch_geometric/pull/9240)) - Added support for `EdgeIndex` in `message_and_aggregate` ([#9131](https://github.com/pyg-team/pytorch_geometric/pull/9131)) - Added `CornellTemporalHyperGraphDataset` ([#9090](https://github.com/pyg-team/pytorch_geometric/pull/9090)) diff --git a/test/test_edge_index.py b/test/test_edge_index.py index 7a396c6a8f6e..2353062bf4ff 100644 --- a/test/test_edge_index.py +++ b/test/test_edge_index.py @@ -88,7 +88,7 @@ def test_identity(dtype, device, is_undirected): adj = EdgeIndex([[0, 1, 1, 2], [1, 0, 2, 1]], sparse_size=(3, 3), **kwargs) out = EdgeIndex(adj) - print(out._data) + assert not isinstance(out.to_tensor(), EdgeIndex) assert out.data_ptr() == adj.data_ptr() assert out.dtype == adj.dtype assert out.device == adj.device