* tests/python/ipnbdoctest.py: Work around failures on Fedora.
This commit is contained in:
parent
99bc0f998f
commit
a8ee291abe
1 changed files with 3 additions and 0 deletions
|
|
@ -127,6 +127,9 @@ def canonicalize(s, type, ignores):
|
||||||
s = re.sub(r' fill="black"', '', s)
|
s = re.sub(r' fill="black"', '', s)
|
||||||
s = re.sub(r' stroke="transparent"', ' stroke="none"', s)
|
s = re.sub(r' stroke="transparent"', ' stroke="none"', s)
|
||||||
s = re.sub(r'><title>', '>\n<title>', s)
|
s = re.sub(r'><title>', '>\n<title>', s)
|
||||||
|
# At some point Fedora changed the default font-familly from
|
||||||
|
# Times,serif to Times-Roman.
|
||||||
|
s = re.sub(r'"Times[^"]+"', '"Times"', s)
|
||||||
# tooltips with a ", " are likely to have \n which was not
|
# tooltips with a ", " are likely to have \n which was not
|
||||||
# well supported by 2.38.
|
# well supported by 2.38.
|
||||||
s = re.sub(r'<a xlink:title=".*?, .*?">\n', '<a xlink:title="...">\n', s,
|
s = re.sub(r'<a xlink:title=".*?, .*?">\n', '<a xlink:title="...">\n', s,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue