diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-09 01:13:45 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-09 01:13:45 +0100 |
commit | fd9cd24a052e6cbaa456d69ca744387888920dad (patch) | |
tree | a6089fc1427a80ea3f309fd10c1192f707efa201 | |
parent | 62aa4d086a072303e1dee2458b402b9b35d9e1e4 (diff) | |
download | cpython-git-fd9cd24a052e6cbaa456d69ca744387888920dad.tar.gz |
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 45bcf5cbd1..faa8da3c0a 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) |