Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
acezen committed Apr 27, 2021
1 parent 0aabf37 commit 7b476a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/graphscope/experimental/nx/tests/classes/test_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,12 @@ def test_selfloops(self):
assert SG.number_of_selfloops() == 1
ESG = G.edge_subgraph([(0, 0), (2, 2)])
assert ESG.number_of_edges() == 2
assert ESG.number_of_selfloops() == 1
assert ESG.number_of_selfloops() == 2

H = G.copy()
assert H.number_of_selfloops() == 2
Gv = G.copy(as_view=True)
assert H.number_of_selfloops() == 2
assert Gv.number_of_selfloops() == 2


@pytest.mark.usefixtures("graphscope_session")
Expand Down

0 comments on commit 7b476a6

Please sign in to comment.