Skip to content

Commit

Permalink
refactor tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarghi-nv committed May 14, 2024
1 parent b45a1a5 commit c557adf
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import pytest

from cugraph_pyg.data import DaskGraphStore
from cugraph_pyg.sampler.cugraph_sampler import (
from cugraph_pyg.sampler.sampler_utils import (
_sampler_output_from_sampling_results_heterogeneous,
)

Expand Down Expand Up @@ -191,9 +191,3 @@ def test_neighbor_sample_mock_sampling_results(abc_graph):
assert out.num_sampled_edges[("A", "ab", "B")].tolist() == [3, 0, 1, 0]
assert out.num_sampled_edges[("B", "ba", "A")].tolist() == [0, 1, 0, 1]
assert out.num_sampled_edges[("B", "bc", "C")].tolist() == [0, 2, 0, 2]


@pytest.mark.skipif(isinstance(torch, MissingModule), reason="torch not available")
@pytest.mark.skip("needs to be written")
def test_neighbor_sample_renumbered():
pass
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import pytest

from cugraph_pyg.data import DaskGraphStore
from cugraph_pyg.sampler.cugraph_sampler import (
from cugraph_pyg.sampler.sampler_utils import (
_sampler_output_from_sampling_results_heterogeneous,
)

Expand Down

0 comments on commit c557adf

Please sign in to comment.