Skip to content

Commit 411e6c5

Browse files
committed
test: fix encoding of temp files
1 parent ca96a78 commit 411e6c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_build.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
LIST_FILES_TEMPLATE = """\
1616
#!{python}
17+
# -*- coding: utf-8 -*-
1718
import sys
1819
from os.path import join
1920
if '--deleted' not in sys.argv:
@@ -75,6 +76,7 @@ def test_build_module_no_docstring():
7576
def test_build_package_with_unicode(copy_sample):
7677
list_files_template = """\
7778
#!{python}
79+
# -*- coding: utf-8 -*-
7880
import sys
7981
from os.path import join
8082
if '--deleted' not in sys.argv:

0 commit comments

Comments
 (0)