From 043f5ae697859e21641419d6a3bdd208eb34d004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Sun, 12 Jun 2011 22:04:58 +0200 Subject: [PATCH] Specify the encoding of the setup.cfg in one packaging test (#12320) --- Lib/packaging/tests/test_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/packaging/tests/test_util.py b/Lib/packaging/tests/test_util.py index f657ab25fa2..9b6498b91e0 100644 --- a/Lib/packaging/tests/test_util.py +++ b/Lib/packaging/tests/test_util.py @@ -496,7 +496,7 @@ class UtilTestCase(support.EnvironRestorer, 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()