Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderDokuchaev committed Jul 16, 2024
1 parent 9fb33a2 commit 54087d2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/common/graph/test_dot_file_rw.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ def test_writing_does_not_modify_original_graph(tmp_path: Path, ref_graph: nx.Di
def test_colons_are_replaced_in_written_dot_file(tmp_path: Path, ref_graph: nx.DiGraph):
tmp_path_to_graph = tmp_path / "graph.dot"
write_dot_graph(ref_graph, tmp_path_to_graph)
assert filecmp.cmp(
tmp_path_to_graph, REF_DOT_REPRESENTATION_GRAPH_PATH
), f"{Path(tmp_path_to_graph).read_text()}\n::::\n\n{Path(REF_DOT_REPRESENTATION_GRAPH_PATH).read_text()}"
assert filecmp.cmp(tmp_path_to_graph, REF_DOT_REPRESENTATION_GRAPH_PATH)


def test_read_dot_file_gives_graph_with_colons(tmp_path: Path, ref_graph: nx.DiGraph):
Expand Down

0 comments on commit 54087d2

Please sign in to comment.