diff options
author | Éric Araujo <merwok@netwok.org> | 2011-06-12 20:04:58 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-06-12 20:04:58 (GMT) |
commit | 043f5ae697859e21641419d6a3bdd208eb34d004 (patch) | |
tree | f978a7ca6dadf1bf65bb3826db880b613e629c92 /Lib/packaging | |
parent | bf94b0f943a4075ef7a5bb9f457db11bd5d8df88 (diff) | |
download | cpython-043f5ae697859e21641419d6a3bdd208eb34d004.zip cpython-043f5ae697859e21641419d6a3bdd208eb34d004.tar.gz cpython-043f5ae697859e21641419d6a3bdd208eb34d004.tar.bz2 |
Specify the encoding of the setup.cfg in one packaging test (#12320)
Diffstat (limited to 'Lib/packaging')
-rw-r--r-- | 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 index f657ab2..9b6498b 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() |