Skip to content

Commit

Permalink
shallow=false in filecmp
Browse files Browse the repository at this point in the history
  • Loading branch information
menon-karthik committed Oct 7, 2024
1 parent 2900ca6 commit 7b1caa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_dirgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def test_directed_graph_generation(setup_files):

generated_dot_file_path = tmp_path / (os.path.splitext(os.path.basename(input_file_path))[0] + "_directed_graph.dot")

filecmp.clear_cache()
assert filecmp.cmp(generated_dot_file_path, expected_dot_file_path), \
#filecmp.clear_cache()
assert filecmp.cmp(generated_dot_file_path, expected_dot_file_path, shallow = False), \
f"The generated dot file '{generated_dot_file_path}' does not match the expected dot file '{expected_dot_file_path}'."

if __name__ == "__main__":
Expand Down

0 comments on commit 7b1caa7

Please sign in to comment.