From d1efe9a75aae11a4da77eebbfadde00e749106b1 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Sat, 21 Mar 2015 20:36:52 +0100 Subject: [PATCH] ipnbdoctest: ignore transform=".*" This is another part of the SVG output thay may change with different versions of graphviz. * wrap/python/tests/ipnbdoctest.py: Here. --- wrap/python/tests/ipnbdoctest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wrap/python/tests/ipnbdoctest.py b/wrap/python/tests/ipnbdoctest.py index 216c5c4d4..56ff9cb62 100755 --- a/wrap/python/tests/ipnbdoctest.py +++ b/wrap/python/tests/ipnbdoctest.py @@ -77,6 +77,7 @@ def sanitize(s): s = re.sub(r'width="[0-9.]+pt"', 'width=""', s) s = re.sub(r'height="[0-9.]+pt"', 'height=""', s) s = re.sub(r'viewBox="[0-9 .-]*"', 'viewbox=""', s) + s = re.sub(r'transform="[^"]*"', 'transform=""', s) return s