Skip to content

Commit

Permalink
style: format with black
Browse files Browse the repository at this point in the history
  • Loading branch information
nwlandry committed Apr 3, 2023
1 parent 6a2a280 commit fea8353
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,11 @@ def test_to_line_graph(edgelist1, hypergraph1):
assert set(L.nodes) == {"e1", "e2", "e3"}
assert [set(e) for e in L.edges] == [{"e1", "e2"}, {"e2", "e3"}]

L = xgi.to_line_graph(hypergraph1,s=2)
L = xgi.to_line_graph(hypergraph1, s=2)
assert set(L.nodes) == {"e1", "e2", "e3"}
assert [set(e) for e in L.edges] == [{"e1", "e2"}]

L = xgi.to_line_graph(hypergraph1,s=3)
L = xgi.to_line_graph(hypergraph1, s=3)
assert set(L.nodes) == {"e1", "e2", "e3"}
assert [set(e) for e in L.edges] == []

Expand All @@ -212,4 +212,4 @@ def test_to_line_graph(edgelist1, hypergraph1):
L = xgi.to_line_graph(H)

assert L.number_of_nodes() == 0
assert L.number_of_edges() == 0
assert L.number_of_edges() == 0

0 comments on commit fea8353

Please sign in to comment.