Lichen

Changeset

532:3dc8eff805e4
2017-02-02 Paul Boddie raw files shortlog changelog graph Updated expected output.
tests/read_localised.py (file) tests/unicode.py (file)
     1.1 --- a/tests/read_localised.py	Thu Feb 02 23:17:08 2017 +0100
     1.2 +++ b/tests/read_localised.py	Thu Feb 02 23:42:08 2017 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  from sys import lstdin
     1.5  
     1.6 -print lstdin
     1.7 -print lstdin.encoding
     1.8 +print lstdin                        # <libc.io.sysstream instance>
     1.9 +print lstdin.encoding               # ISO-8859-15
    1.10  print "Reading 10 bytes..."
    1.11  s = lstdin.read(10)
    1.12  print s
     2.1 --- a/tests/unicode.py	Thu Feb 02 23:17:08 2017 +0100
     2.2 +++ b/tests/unicode.py	Thu Feb 02 23:42:08 2017 +0100
     2.3 @@ -156,7 +156,7 @@
     2.4  # Inspect and update the encoding of stdout.
     2.5  # Note that su and us are byte strings and are not recoded.
     2.6  
     2.7 -print sys.stdout                    # <posix.io.sysstream instance>
     2.8 +print sys.stdout                    # <libc.io.sysstream instance>
     2.9  print sys.stdout.encoding           # None
    2.10  
    2.11  sys.stdout.encoding = "ISO-8859-1"