Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(13)

Unified Diff: Lib/test/test_unicode_file.py

Issue 3055: combined patches from http://bugs.python.org/issue3187 (Closed) SVN Base: http://svn.python.org/view/*checkout*/python/branches/py3k/
Patch Set: One more tweak (fold some long lines) Created 1 year, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side by-side-diff with in-line comments
Download patch
Index: Lib/test/test_unicode_file.py
===================================================================
--- Lib/test/test_unicode_file.py (revision 66736)
+++ Lib/test/test_unicode_file.py (working copy)
@@ -90,7 +90,7 @@
os.unlink(filename1 + ".new")
def _do_directory(self, make_name, chdir_name, encoded):
- cwd = os.getcwd()
+ cwd = os.getcwdb()
if os.path.isdir(make_name):
os.rmdir(make_name)
os.mkdir(make_name)
@@ -98,10 +98,10 @@
os.chdir(chdir_name)
try:
if not encoded:
- cwd_result = os.getcwdu()
+ cwd_result = os.getcwd()
name_result = make_name
else:
- cwd_result = os.getcwd().decode(TESTFN_ENCODING)
+ cwd_result = os.getcwdb().decode(TESTFN_ENCODING)
name_result = make_name.decode(TESTFN_ENCODING)
cwd_result = unicodedata.normalize("NFD", cwd_result)

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r483