Index: Lib/test/regrtest.py =================================================================== --- Lib/test/regrtest.py (révision 84694) +++ Lib/test/regrtest.py (copie de travail) @@ -1177,9 +1177,6 @@ # expected to be skipped on that platform. # # Special cases: -# test_pep277 -# The _ExpectedSkips constructor adds this to the set of expected -# skips if not os.path.supports_unicode_filenames. # test_timeout # Controlled by test_timeout.skip_expected. Requires the network # resource and a socket module. @@ -1414,10 +1411,6 @@ # XXX Fix these! self.expected.add('test_nis') - # expected to be skipped on every platform, even Linux - if not os.path.supports_unicode_filenames: - self.expected.add('test_pep277') - # doctest, profile and cProfile tests fail when the codec for the # fs encoding isn't built in because PyUnicode_Decode() adds two # calls into Python. Index: Lib/test/test_pep277.py =================================================================== --- Lib/test/test_pep277.py (révision 84694) +++ Lib/test/test_pep277.py (copie de travail) @@ -41,17 +41,6 @@ ]) -# Is it Unicode-friendly? -if not os.path.supports_unicode_filenames: - fsencoding = sys.getfilesystemencoding() - try: - for name in filenames: - name.encode(fsencoding) - except UnicodeEncodeError: - raise unittest.SkipTest("only NT+ and systems with " - "Unicode-friendly filesystem encoding") - - # Destroy directory dirname and all files under it, to one level. def deltree(dirname): # Don't hide legitimate errors: if one of these suckers exists, it's