diff options
author | Éric Araujo <merwok@netwok.org> | 2011-06-10 22:33:38 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-06-10 22:33:38 (GMT) |
commit | 643cb7345f66f0d9dbc1066567ffb1d519026388 (patch) | |
tree | fa095182a816176836bb48d9d0e29dfa96862a98 /Lib/packaging/tests/test_util.py | |
parent | 8474f2901b78cc9afe9487ed9236430f43be18b7 (diff) | |
download | cpython-643cb7345f66f0d9dbc1066567ffb1d519026388.zip cpython-643cb7345f66f0d9dbc1066567ffb1d519026388.tar.gz cpython-643cb7345f66f0d9dbc1066567ffb1d519026388.tar.bz2 |
Allow multiple setup hooks in packaging’s setup.cfg files (#12240).
Original patch by Erik Bray.
Diffstat (limited to 'Lib/packaging/tests/test_util.py')
-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 68ad8eb..f657ab2 100644 --- a/Lib/packaging/tests/test_util.py +++ b/Lib/packaging/tests/test_util.py @@ -495,7 +495,7 @@ class UtilTestCase(support.EnvironRestorer, def test_cfg_to_args(self): opts = {'description-file': 'README', 'extra-files': '', - 'setup-hook': 'packaging.tests.test_config.hook'} + 'setup-hooks': 'packaging.tests.test_config.version_hook'} self.write_file('setup.cfg', SETUP_CFG % opts) self.write_file('README', 'loooong description') |