[Python-checkins] cpython: Specify the encoding of the setup.cfg in one packaging test (#12320)
eric.araujo
python-checkins at python.org
Sun Jun 12 22:08:41 CEST 2011
http://hg.python.org/cpython/rev/9eecfeaa591a
changeset: 70807:9eecfeaa591a
user: Éric Araujo <merwok at netwok.org>
date: Sun Jun 12 22:04:58 2011 +0200
summary:
Specify the encoding of the setup.cfg in one packaging test (#12320)
files:
Lib/packaging/tests/test_util.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/packaging/tests/test_util.py b/Lib/packaging/tests/test_util.py
--- a/Lib/packaging/tests/test_util.py
+++ b/Lib/packaging/tests/test_util.py
@@ -496,7 +496,7 @@
def test_cfg_to_args(self):
opts = {'description-file': 'README', 'extra-files': '',
'setup-hooks': 'packaging.tests.test_config.version_hook'}
- self.write_file('setup.cfg', SETUP_CFG % opts)
+ self.write_file('setup.cfg', SETUP_CFG % opts, encoding='utf-8')
self.write_file('README', 'loooong description')
args = cfg_to_args()
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list