diff options
Diffstat (limited to 'tests/test_Changelog.py')
-rw-r--r-- | tests/test_Changelog.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_Changelog.py b/tests/test_Changelog.py index e66b42f..dd18bcd 100644 --- a/tests/test_Changelog.py +++ b/tests/test_Changelog.py @@ -236,7 +236,7 @@ def test_add_section(): >>> testdebdir = os.path.join(testdir, 'debian') >>> testclname = os.path.join(testdebdir, "changelog") >>> os.mkdir(testdebdir) - >>> clh = open(os.path.join(testdebdir, "changelog"), "w") + >>> clh = open(os.path.join(testdebdir, "changelog"), "w", encoding='utf-8') >>> ret = clh.write(cl_debian) >>> clh.close() >>> os.chdir(testdir) @@ -282,7 +282,7 @@ def test_add_entry(): >>> testdebdir = os.path.join(testdir, 'debian') >>> testclname = os.path.join(testdebdir, "changelog") >>> os.mkdir(testdebdir) - >>> clh = open(os.path.join(testdebdir, "changelog"), "w") + >>> clh = open(os.path.join(testdebdir, "changelog"), "w", encoding='utf-8') >>> ret = clh.write(cl_debian) >>> clh.close() >>> os.chdir(testdir) |