##// END OF EJS Templates
ui: fix configwith doctest...
Jun Wu -
r30932:f61c5680 default
parent child Browse files
Show More
@@ -410,9 +410,9 b' class ui(object):'
410 410 >>> u.setconfig(s, 'float1', '42')
411 411 >>> u.configwith(float, s, 'float1')
412 412 42.0
413 >>> u.setconfig(s, 'float2', '-4.2')
413 >>> u.setconfig(s, 'float2', '-4.25')
414 414 >>> u.configwith(float, s, 'float2')
415 -4.2
415 -4.25
416 416 >>> u.configwith(float, s, 'unknown', 7)
417 417 7
418 418 >>> u.setconfig(s, 'invalid', 'somevalue')
General Comments 0
You need to be logged in to leave comments. Login now