From 1f7c374798059b9d0803b587c36f77b214954ea6 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Mon, 16 Mar 2015 16:03:50 +0100 Subject: [PATCH] python: More fixes for GraphViz variations One of our ArchLinux build produice slightly different SVG. * wrap/python/tests/ipnbdoctest.py: Strip larger parts of SVG outputs. --- wrap/python/tests/ipnbdoctest.py | 34 ++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/wrap/python/tests/ipnbdoctest.py b/wrap/python/tests/ipnbdoctest.py index 4bcea3f5a..216c5c4d4 100755 --- a/wrap/python/tests/ipnbdoctest.py +++ b/wrap/python/tests/ipnbdoctest.py @@ -70,10 +70,13 @@ def sanitize(s): # SVG generated by graphviz may put note at different positions # depending on the graphviz build. Let's just strip anything that # look like a position. - s = re.sub(r'