summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-12-20 14:44:41 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-12-20 14:44:41 (GMT)
commit3acc41b5f655cab7afb695da813cb2e3f8bc74eb (patch)
tree3af80040fad9099f787ad1b7707a7ed50ca130f8
parenta30be3031f1243caeca6b8606174dca330f1a5fa (diff)
downloadcpython-3acc41b5f655cab7afb695da813cb2e3f8bc74eb.zip
cpython-3acc41b5f655cab7afb695da813cb2e3f8bc74eb.tar.gz
cpython-3acc41b5f655cab7afb695da813cb2e3f8bc74eb.tar.bz2
Fixed #1673. I hope it works. I don't have access to a Windows box right now.
-rw-r--r--Lib/test/test_pep277.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pep277.py b/Lib/test/test_pep277.py
index 3c3f9ac..770b526 100644
--- a/Lib/test/test_pep277.py
+++ b/Lib/test/test_pep277.py
@@ -80,7 +80,7 @@ class UnicodeFileTests(unittest.TestCase):
f1 = os.listdir(test_support.TESTFN)
f2 = os.listdir(str(test_support.TESTFN.encode("utf-8"),
sys.getfilesystemencoding()))
- sf2 = set("\\".join((unicode(test_support.TESTFN), f))
+ sf2 = set("\\".join((str(test_support.TESTFN), f))
for f in f2)
self.failUnlessEqual(len(f1), len(self.files))
self.failUnlessEqual(sf2, set(self.files))