Index: Lib/test/test_pep277.py =================================================================== --- Lib/test/test_pep277.py (revision 59477) +++ Lib/test/test_pep277.py (working copy) @@ -82,8 +82,7 @@ # returned depend on the local encoding f2 = os.listdir(unicode(test_support.TESTFN, sys.getfilesystemencoding())) - f2.sort() - print f2 + self.failUnlessEqual(set(f2), set(files)) def test_rename(self): for name in self.files: @@ -99,7 +98,6 @@ f = open(filename, 'w') f.write((filename + '\n').encode("utf-8")) f.close() - print repr(filename) os.access(filename,os.R_OK) os.remove(filename) os.chdir(oldwd) Index: Lib/test/output/test_pep277 =================================================================== --- Lib/test/output/test_pep277 (revision 59477) +++ Lib/test/output/test_pep277 (working copy) @@ -1,3 +0,0 @@ -test_pep277 -u'\xdf-\u66e8\u66e9\u66eb' -[u'Gr\xfc\xdf-Gott', u'abc', u'ascii', u'\u0393\u03b5\u03b9\u03ac-\u03c3\u03b1\u03c2', u'\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435', u'\u05d4\u05e9\u05e7\u05e6\u05e5\u05e1', u'\u306b\u307d\u3093', u'\u66e8\u05e9\u3093\u0434\u0393\xdf', u'\u66e8\u66e9\u66eb']