# HG changeset patch # User Paul Boddie # Date 1481931239 -3600 # Node ID 6d5de0f9144e48a541fde9bfc60ae711c7622179 # Parent eb07270f706105616723d76361cfa5ee111ebf71 Test for the initialisation of the sys module. diff -r eb07270f7061 -r 6d5de0f9144e tests/unicode.py --- a/tests/unicode.py Sat Dec 17 00:31:59 2016 +0100 +++ b/tests/unicode.py Sat Dec 17 00:33:59 2016 +0100 @@ -71,6 +71,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.encoding # None sys.stdout.encoding = "ISO-8859-1"