diff --git a/wrap/python/tests/ipnbdoctest.py b/wrap/python/tests/ipnbdoctest.py index 4b14f4400..bce5e3fa3 100755 --- a/wrap/python/tests/ipnbdoctest.py +++ b/wrap/python/tests/ipnbdoctest.py @@ -67,6 +67,13 @@ def sanitize(s): # normalize UUIDs: s = re.sub(r'[a-f0-9]{8}(\-[a-f0-9]{4}){3}\-[a-f0-9]{12}', 'U-U-I-D', 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'