Ignore difference in graphviz versions.
* wrap/python/tests/ipnbdoctest.py: here.
This commit is contained in:
parent
dc7ca7d8d2
commit
0ab745be9c
1 changed files with 3 additions and 0 deletions
|
|
@ -67,6 +67,9 @@ def sanitize(s):
|
||||||
# normalize UUIDs:
|
# normalize UUIDs:
|
||||||
s = re.sub(r'[a-f0-9]{8}(\-[a-f0-9]{4}){3}\-[a-f0-9]{12}', 'U-U-I-D', s)
|
s = re.sub(r'[a-f0-9]{8}(\-[a-f0-9]{4}){3}\-[a-f0-9]{12}', 'U-U-I-D', s)
|
||||||
|
|
||||||
|
# normalize graphviz version
|
||||||
|
s = re.sub(r'Generated by graphviz version.*', 'VERSION', s)
|
||||||
|
|
||||||
# SVG generated by graphviz may put note at different positions
|
# SVG generated by graphviz may put note at different positions
|
||||||
# depending on the graphviz build. Let's just strip anything that
|
# depending on the graphviz build. Let's just strip anything that
|
||||||
# look like a position.
|
# look like a position.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue