From ee85cf7759ae1d6732ce021a9156593045d7d6aa Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Fri, 11 Nov 2016 15:27:36 +0100 Subject: [PATCH] * tests/python/ipnbdoctest.py: Ignore more SVG differences. --- tests/python/ipnbdoctest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/python/ipnbdoctest.py b/tests/python/ipnbdoctest.py index 30abfafa1..6acd80499 100755 --- a/tests/python/ipnbdoctest.py +++ b/tests/python/ipnbdoctest.py @@ -92,6 +92,8 @@ def sanitize(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) + s = re.sub(r'id="edge[^"]*"', 'id="edge"', s) + s = re.sub(r'text-anchor="[^"]*"', 'text-anchor=""', s) return s