projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fc443c
)
Actually fix what I attempted to fix in r86888...
author
Brian Curtin
<brian.curtin@gmail.com>
Tue, 30 Nov 2010 15:54:04 +0000
(15:54 +0000)
committer
Brian Curtin
<brian.curtin@gmail.com>
Tue, 30 Nov 2010 15:54:04 +0000
(15:54 +0000)
Lib/test/test_os.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_os.py
b/Lib/test/test_os.py
index d58097dc5c32a406e10463e0cc3b04bcfbc6d4dc..6a70132782825e5c546058393a4e5614df2cb708 100644
(file)
--- 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)