diff options
author | Brian Curtin <brian.curtin@gmail.com> | 2010-11-30 15:54:04 (GMT) |
---|---|---|
committer | Brian Curtin <brian.curtin@gmail.com> | 2010-11-30 15:54:04 (GMT) |
commit | f498b754ed63c69b42240a46c0d9c9c01936360d (patch) | |
tree | 6f77dc549bb1a9ddfc9677a53823e963fd67fb32 /Lib | |
parent | 9fc443cf590c76d4b979c46dc954d3956cee0319 (diff) | |
download | cpython-f498b754ed63c69b42240a46c0d9c9c01936360d.zip cpython-f498b754ed63c69b42240a46c0d9c9c01936360d.tar.gz cpython-f498b754ed63c69b42240a46c0d9c9c01936360d.tar.bz2 |
Actually fix what I attempted to fix in r86888...
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_os.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index d58097d..6a70132 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -887,13 +887,13 @@ class LinkTests(unittest.TestCase): self._test_link(bytes(self.file1, sys.getfilesystemencoding()), bytes(self.file2, sys.getfilesystemencoding())) - def test_mbcs_name(self): + def test_unicode_name(self): try: - chars = os.fsencode("\u65e5\u672c") + os.fsencode("\xf1") except UnicodeError: raise unittest.SkipTest("Unable to encode for this platform.") - self.file1 += chars + self.file1 += "\xf1" self.file2 = self.file1 + "2" self._test_link(self.file1, self.file2) |