mirror of https://github.com/python/cpython
Issue #13374: Use Unicode filenames instead of bytes filenames
getcwdb() => getcwd()
This commit is contained in:
parent
62aa4d086a
commit
fd9cd24a05
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue