fix tests with the new pydot release (#10567)

This commit is contained in:
skshetry
2024-09-26 08:13:06 +05:45
committed by GitHub
parent 52877485d1
commit ee1864af8e
+2 -2
View File
@@ -133,7 +133,7 @@ def test_show_dot(repo):
"\"stage: 'b.dvc'\" -> \"stage: '2'\";",
"\"stage: 'b.dvc'\" -> \"stage: '3'\";",
"\"stage: 'b.dvc'\";",
"strict digraph {",
"strict digraph {",
"}",
]
actual = sorted(line.rstrip() for line in _show_dot(repo.index.graph).splitlines())
@@ -153,7 +153,7 @@ def test_show_dot_properly_escapes():
)
expected = {
"strict digraph {",
"strict digraph {",
'"data\\raw\\2.dvc";',
'"prepare";',
'"4";',