1.1 --- a/tests/iconv.py Mon Dec 12 01:12:52 2016 +0100
1.2 +++ b/tests/iconv.py Mon Dec 12 01:46:28 2016 +0100
1.3 @@ -8,14 +8,14 @@
1.4 from_utf16 = Converter("UTF-16", "ISO-8859-1")
1.5
1.6 try:
1.7 - iso = "æøå"
1.8 - print iso # æøå
1.9 - utf = to_utf8.convert(iso)
1.10 - print utf # æøå
1.11 - print from_utf8.convert(utf) # æøå
1.12 - utf = to_utf16.convert(iso)
1.13 - print utf # ...
1.14 try:
1.15 + iso = "æøå"
1.16 + print iso # æøå
1.17 + utf = to_utf8.convert(iso)
1.18 + print utf # æøå
1.19 + print from_utf8.convert(utf) # æøå
1.20 + utf = to_utf16.convert(iso)
1.21 + print utf # ...
1.22 print from_utf16.convert(utf) # æøå
1.23 except OSError, exc:
1.24 if exc.value == EINVAL: