summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unicode_file.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-11-09 00:13:45 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-11-09 00:13:45 (GMT)
commitfd9cd24a052e6cbaa456d69ca744387888920dad (patch)
treea6089fc1427a80ea3f309fd10c1192f707efa201 /Lib/test/test_unicode_file.py
parent62aa4d086a072303e1dee2458b402b9b35d9e1e4 (diff)
downloadcpython-fd9cd24a052e6cbaa456d69ca744387888920dad.zip
cpython-fd9cd24a052e6cbaa456d69ca744387888920dad.tar.gz
cpython-fd9cd24a052e6cbaa456d69ca744387888920dad.tar.bz2
Issue #13374: Use Unicode filenames instead of bytes filenames
getcwdb() => getcwd()
Diffstat (limited to 'Lib/test/test_unicode_file.py')
-rw-r--r--Lib/test/test_unicode_file.py2
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)