# HG changeset patch # User Paul Boddie # Date 1486075328 -3600 # Node ID 3dc8eff805e4c6447b8bb199fbf955b0b251505f # Parent aab03ea7fc94741a3eb62ba1f5064ba98e2b2110 Updated expected output. diff -r aab03ea7fc94 -r 3dc8eff805e4 tests/read_localised.py --- a/tests/read_localised.py Thu Feb 02 23:17:08 2017 +0100 +++ b/tests/read_localised.py Thu Feb 02 23:42:08 2017 +0100 @@ -1,7 +1,7 @@ from sys import lstdin -print lstdin -print lstdin.encoding +print lstdin # +print lstdin.encoding # ISO-8859-15 print "Reading 10 bytes..." s = lstdin.read(10) print s diff -r aab03ea7fc94 -r 3dc8eff805e4 tests/unicode.py --- a/tests/unicode.py Thu Feb 02 23:17:08 2017 +0100 +++ b/tests/unicode.py Thu Feb 02 23:42:08 2017 +0100 @@ -156,7 +156,7 @@ # Inspect and update the encoding of stdout. # Note that su and us are byte strings and are not recoded. -print sys.stdout # +print sys.stdout # print sys.stdout.encoding # None sys.stdout.encoding = "ISO-8859-1"