[Python-checkins] cpython: Issue #13374: Use Unicode filenames instead of bytes filenames

victor.stinner python-checkins at python.org
Wed Nov 9 01:12:03 CET 2011


http://hg.python.org/cpython/rev/6bf07db23445
changeset:   73469:6bf07db23445
user:        Victor Stinner <victor.stinner at haypocalc.com>
date:        Wed Nov 09 01:13:45 2011 +0100
summary:
  Issue #13374: Use Unicode filenames instead of bytes filenames

getcwdb() => getcwd()

files:
  Lib/test/test_unicode_file.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_unicode_file.py b/Lib/test/test_unicode_file.py
--- a/Lib/test/test_unicode_file.py
+++ b/Lib/test/test_unicode_file.py
@@ -82,7 +82,7 @@
         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)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list