diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-09 00:13:45 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-09 00:13:45 (GMT) |
commit | fd9cd24a052e6cbaa456d69ca744387888920dad (patch) | |
tree | a6089fc1427a80ea3f309fd10c1192f707efa201 | |
parent | 62aa4d086a072303e1dee2458b402b9b35d9e1e4 (diff) | |
download | cpython-fd9cd24a052e6cbaa456d69ca744387888920dad.zip cpython-fd9cd24a052e6cbaa456d69ca744387888920dad.tar.gz cpython-fd9cd24a052e6cbaa456d69ca744387888920dad.tar.bz2 |
Issue #13374: Use Unicode filenames instead of bytes filenames
getcwdb() => getcwd()
-rw-r--r-- | 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 index 45bcf5c..faa8da3 100644 --- a/Lib/test/test_unicode_file.py +++ b/Lib/test/test_unicode_file.py @@ -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) |