aboutsummaryrefslogtreecommitdiffstats
path: root/packaging-tools/tests/test_bld_python.py
diff options
context:
space:
mode:
Diffstat (limited to 'packaging-tools/tests/test_bld_python.py')
-rwxr-xr-xpackaging-tools/tests/test_bld_python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging-tools/tests/test_bld_python.py b/packaging-tools/tests/test_bld_python.py
index 693e447d0..8b2866176 100755
--- a/packaging-tools/tests/test_bld_python.py
+++ b/packaging-tools/tests/test_bld_python.py
@@ -45,7 +45,7 @@ class TestBldPython(unittest.TestCase):
tempDir = os.path.join(tmpBaseDir, "foo", "bar", "test", "dir")
os.makedirs(tempDir)
tempFilePath = os.path.join(tempDir, "configure")
- with open(tempFilePath, 'w+') as f:
+ with open(tempFilePath, 'w+', encoding="utf-8") as f:
f.write("\n")
foundDir = locate_source_root(tmpBaseDir)