--- a/tests/test_rl_accel.py Thu Mar 22 10:18:32 2018 +0000
+++ b/tests/test_rl_accel.py Fri Mar 23 16:02:08 2018 +0000
@@ -157,9 +157,9 @@
for func,kind in getFuncs('sameFrag'):
if not func: continue
- a=ABag(fontName='Helvetica',fontSize=12, textColor="red", rise=0, underline=0, strike=0, link="aaaa")
- b=ABag(fontName='Helvetica',fontSize=12, textColor="red", rise=0, underline=0, strike=0, link="aaaa")
- for name in ("fontName", "fontSize", "textColor", "rise", "underline", "strike", "link"):
+ a=ABag(fontName='Helvetica',fontSize=12, textColor="red", rise=0, us_lines=0, link="aaaa")
+ b=ABag(fontName='Helvetica',fontSize=12, textColor="red", rise=0, us_lines=0, link="aaaa")
+ for name in ("fontName", "fontSize", "textColor", "rise", "us_lines", "link"):
old = getattr(a,name)
assert func(a,b)==1, "%s sameFrag(%s,%s)!=1" % (kind,a,b)
assert func(b,a)==1, "%s sameFrag(%s,%s)!=1" % (kind,b,a)