Skip to content

Commit a4699e7

Browse files
committed
-
1 parent 81c108e commit a4699e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source_py2/test_python_toolbox/test_temp_file_tools/test_create_temp_folder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def test_basic():
3333
assert tf1.is_dir()
3434
file_path = (tf1 / 'my_file')
3535
with file_path.open('w') as my_file:
36-
my_file.write('Woo hoo!')
36+
my_file.write(u'Woo hoo!')
3737

3838
assert file_path.exists()
3939
assert file_path.is_file()
@@ -66,7 +66,7 @@ def test_without_pathlib():
6666

6767
file_path = os.path.join(str(tf1), 'my_file')
6868
with open(file_path, 'w') as my_file:
69-
my_file.write('Woo hoo!')
69+
my_file.write(u'Woo hoo!')
7070

7171
assert os.path.exists(file_path)
7272
assert os.path.isfile(file_path)

0 commit comments

Comments
 (0)