Convert python test scripts to be Python 2 and 3 compatible
Unicode testing
This commit is contained in:
parent
36bb54f01d
commit
66df0bd224
6 changed files with 28 additions and 30 deletions
|
|
@ -5,7 +5,7 @@ a = A()
|
|||
|
||||
o = wostringstream()
|
||||
|
||||
o << a << u" " << 2345 << u" " << 1.435 << wends
|
||||
o << a << " " << 2345 << " " << 1.435 << wends
|
||||
|
||||
if o.str() != "A class 2345 1.435\0":
|
||||
raise RuntimeError("str failed: \"%s\"".format(o.str()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue