diff options
Diffstat (limited to 'Lib/test/test_fileio.py')
-rw-r--r-- | Lib/test/test_fileio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_fileio.py b/Lib/test/test_fileio.py index 4d969f5ef4..56fef11be2 100644 --- a/Lib/test/test_fileio.py +++ b/Lib/test/test_fileio.py @@ -149,7 +149,7 @@ class OtherFileTests(unittest.TestCase): def testUnicodeOpen(self): # verify repr works for unicode too - f = _fileio._FileIO(unicode(TESTFN), "w") + f = _fileio._FileIO(str(TESTFN), "w") f.close() os.unlink(TESTFN) |