]> granicus.if.org Git - python/commitdiff
Issue #13374: Use Unicode filenames instead of bytes filenames
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 9 Nov 2011 00:13:45 +0000 (01:13 +0100)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 9 Nov 2011 00:13:45 +0000 (01:13 +0100)
getcwdb() => getcwd()

Lib/test/test_unicode_file.py

index 45bcf5cbd1c965c596d9586124d9b14e34640b6c..faa8da3c0a7372977954987bc14f77dafeb6fe92 100644 (file)
@@ -82,7 +82,7 @@ class TestUnicodeFiles(unittest.TestCase):
         self.assertFalse(os.path.exists(filename2 + '.new'))
 
     def _do_directory(self, make_name, chdir_name):
-        cwd = os.getcwdb()
+        cwd = os.getcwd()
         if os.path.isdir(make_name):
             rmtree(make_name)
         os.mkdir(make_name)