summaryrefslogtreecommitdiff
path: root/Lib/test/test_macfs.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-05-02 19:09:54 +0000
committerGuido van Rossum <guido@python.org>2007-05-02 19:09:54 +0000
commitef87d6ed94780fe00250a551031023aeb2898365 (patch)
tree1f8989aaaec7ec5f8b2f26498317f2022bf85531 /Lib/test/test_macfs.py
parent572dbf8f1320c0b34b9c786e5c30ba4a4b61b292 (diff)
downloadcpython-git-ef87d6ed94780fe00250a551031023aeb2898365.tar.gz
Rip out all the u"..." literals and calls to unicode().
Diffstat (limited to 'Lib/test/test_macfs.py')
-rw-r--r--Lib/test/test_macfs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_macfs.py b/Lib/test/test_macfs.py
index 9c0e3a1a7c..e25250ba4f 100644
--- a/Lib/test/test_macfs.py
+++ b/Lib/test/test_macfs.py
@@ -32,7 +32,7 @@ class TestMacfs(unittest.TestCase):
def test_fsref_unicode(self):
if sys.getfilesystemencoding():
- testfn_unicode = unicode(test_support.TESTFN)
+ testfn_unicode = str(test_support.TESTFN)
fsr = macfs.FSRef(testfn_unicode)
self.assertEqual(os.path.realpath(test_support.TESTFN), fsr.as_pathname())