summaryrefslogtreecommitdiff
path: root/networkx/algorithms/tests/test_simple_paths.py
diff options
context:
space:
mode:
Diffstat (limited to 'networkx/algorithms/tests/test_simple_paths.py')
-rw-r--r--networkx/algorithms/tests/test_simple_paths.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/networkx/algorithms/tests/test_simple_paths.py b/networkx/algorithms/tests/test_simple_paths.py
index 57e9d82f..aaf9a051 100644
--- a/networkx/algorithms/tests/test_simple_paths.py
+++ b/networkx/algorithms/tests/test_simple_paths.py
@@ -148,7 +148,7 @@ def test_all_simple_paths_cutoff():
def test_all_simple_paths_on_non_trivial_graph():
- """ you may need to draw this graph to make sure it is reasonable """
+ """you may need to draw this graph to make sure it is reasonable"""
G = nx.path_graph(5, create_using=nx.DiGraph())
G.add_edges_from([(0, 5), (1, 5), (1, 3), (5, 4), (4, 2), (4, 3)])
paths = nx.all_simple_paths(G, 1, [2, 3])
@@ -334,7 +334,7 @@ def test_all_simple_edge_paths_cutoff():
def test_all_simple_edge_paths_on_non_trivial_graph():
- """ you may need to draw this graph to make sure it is reasonable """
+ """you may need to draw this graph to make sure it is reasonable"""
G = nx.path_graph(5, create_using=nx.DiGraph())
G.add_edges_from([(0, 5), (1, 5), (1, 3), (5, 4), (4, 2), (4, 3)])
paths = nx.all_simple_edge_paths(G, 1, [2, 3])