mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Rip out all the u"..." literals and calls to unicode().
This commit is contained in:
parent
572dbf8f13
commit
ef87d6ed94
200 changed files with 18074 additions and 18074 deletions
|
|
@ -145,7 +145,7 @@ class OtherFileTests(unittest.TestCase):
|
|||
|
||||
def testUnicodeOpen(self):
|
||||
# verify repr works for unicode too
|
||||
f = open(unicode(TESTFN), "w")
|
||||
f = open(str(TESTFN), "w")
|
||||
self.assert_(repr(f).startswith("<open file u'" + TESTFN))
|
||||
f.close()
|
||||
os.unlink(TESTFN)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue