We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81c108e commit a4699e7Copy full SHA for a4699e7
source_py2/test_python_toolbox/test_temp_file_tools/test_create_temp_folder.py
@@ -33,7 +33,7 @@ def test_basic():
33
assert tf1.is_dir()
34
file_path = (tf1 / 'my_file')
35
with file_path.open('w') as my_file:
36
- my_file.write('Woo hoo!')
+ my_file.write(u'Woo hoo!')
37
38
assert file_path.exists()
39
assert file_path.is_file()
@@ -66,7 +66,7 @@ def test_without_pathlib():
66
67
file_path = os.path.join(str(tf1), 'my_file')
68
with open(file_path, 'w') as my_file:
69
70
71
assert os.path.exists(file_path)
72
assert os.path.isfile(file_path)
0 commit comments