Test string must be Unicode
This commit is contained in:
1 parent
21d3622c2e
commit
5d8535cb9c
2 files changed
+2
-2
No files matched your search
@@ -1833,7 +1833,7 @@ def _validate_folder(folder, create=True, check_writable=True, deep_check_writab
|
||||
testfile = os.path.join(folder, ".testballoon.txt")
|
||||
try:
|
||||
with io.open(testfile, 'wt', encoding='utf-8') as f:
|
||||
f.write("test")
|
||||
f.write(u"test")
|
||||
os.remove(testfile)
|
||||
except Exception:
|
||||
if log_error:
|
||||
|
||||
Reference in new issue
Block a user