Skip to content

Commit

Permalink
Remove stray debug prints from tests (#842)
Browse files Browse the repository at this point in the history
This commit removes some stray debug print messages that were in some
test files. This was causing spurious output that wasn't actionable
during test runs both locally and in CI.
  • Loading branch information
mtreinish authored Mar 21, 2023
1 parent 446f915 commit e65185c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion tests/retworkx_backwards_compat/digraph/test_dijkstra.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ def test_dijkstra_all_pair_path_lengths(self):

def test_dijkstra_all_pair_paths(self):
paths = retworkx.digraph_all_pairs_dijkstra_shortest_paths(self.graph, float)
print(paths)
expected = {
0: {1: [0, 1], 2: [0, 3, 2], 3: [0, 3], 4: [0, 3, 4], 5: [0, 1, 5]},
1: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ def test_all_simple_paths_with_cutoff(self):

def test_all_simple_paths_with_min_depth_and_cutoff(self):
paths = retworkx.all_pairs_all_simple_paths(self.graph, min_depth=3, cutoff=3)
print(paths)
expected = {
0: {2: [[0, 1, 2], [0, 3, 2]]},
1: {3: [[1, 2, 3], [1, 0, 3]]},
Expand Down
1 change: 0 additions & 1 deletion tests/rustworkx_tests/digraph/test_dijkstra.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ def test_dijkstra_all_pair_path_lengths(self):

def test_dijkstra_all_pair_paths(self):
paths = rustworkx.digraph_all_pairs_dijkstra_shortest_paths(self.graph, float)
print(paths)
expected = {
0: {1: [0, 1], 2: [0, 3, 2], 3: [0, 3], 4: [0, 3, 4], 5: [0, 1, 5]},
1: {
Expand Down
1 change: 0 additions & 1 deletion tests/rustworkx_tests/generators/test_heavy_square.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,6 @@ def test_heavy_square_graph_5(self):
(44, 60),
(44, 64),
]
print("\n\nEDGE LIST ", graph.edge_list())
self.assertEqual(list(graph.edge_list()), expected_edges)

def test_directed_heavy_square_graph_3(self):
Expand Down
1 change: 0 additions & 1 deletion tests/rustworkx_tests/graph/test_all_simple_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ def test_all_simple_paths_with_cutoff(self):

def test_all_simple_paths_with_min_depth_and_cutoff(self):
paths = rustworkx.all_pairs_all_simple_paths(self.graph, min_depth=3, cutoff=3)
print(paths)
expected = {
0: {2: [[0, 1, 2], [0, 3, 2]]},
1: {3: [[1, 2, 3], [1, 0, 3]]},
Expand Down

0 comments on commit e65185c

Please sign in to comment.