* tests/python/ipnbdoctest.py: Ignore more SVG differences.
This commit is contained in:
parent
85f6e0e158
commit
ee85cf7759
1 changed files with 2 additions and 0 deletions
|
|
@ -92,6 +92,8 @@ def sanitize(s):
|
||||||
s = re.sub(r'height="[0-9.]+pt"', 'height=""', s)
|
s = re.sub(r'height="[0-9.]+pt"', 'height=""', s)
|
||||||
s = re.sub(r'viewBox="[0-9 .-]*"', 'viewbox=""', s)
|
s = re.sub(r'viewBox="[0-9 .-]*"', 'viewbox=""', s)
|
||||||
s = re.sub(r'transform="[^"]*"', 'transform=""', 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
|
return s
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue