Skip to content

Commit

Permalink
fix igraph test
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgigante committed Jan 26, 2019
1 parent 2fc9d10 commit f9bb59e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ def test_to_igraph():
assert isinstance(G2, igraph.Graph)
assert np.all(np.array(G2.get_adjacency(
attribute="weight").data) == G.W)
G = build_graph(data, use_pygsp=False)
G2 = G.to_igraph()
G3 = build_graph(data, use_pygsp=False)
G2 = G3.to_igraph()
assert isinstance(G2, igraph.Graph)
assert np.all(np.array(G2.get_adjacency(
attribute="weight").data) == G.W)
Expand Down

0 comments on commit f9bb59e

Please sign in to comment.