Kaydet (Commit) 043f5ae6 authored tarafından Éric Araujo's avatar Éric Araujo

Specify the encoding of the setup.cfg in one packaging test (#12320)

üst bf94b0f9
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment