diff options
author | Éric Araujo <merwok@netwok.org> | 2011-06-09 05:47:25 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-06-09 05:47:25 (GMT) |
commit | 0a975f957da0a29f6a93acb836eb50070dc63f72 (patch) | |
tree | 56646da5be16cacee2e26f45cd5143668a375723 | |
parent | df8ef02488227ab88969360eea5c34bc364aa758 (diff) | |
download | cpython-0a975f957da0a29f6a93acb836eb50070dc63f72.zip cpython-0a975f957da0a29f6a93acb836eb50070dc63f72.tar.gz cpython-0a975f957da0a29f6a93acb836eb50070dc63f72.tar.bz2 |
Fix example in packaging test_config.
The example C extension used the “three.fast_taunt” name, but no “three” parent
was defined in the setup.cfg. This did not cause a failure nor even print a
warning, we may want to change that.
-rw-r--r-- | Lib/packaging/tests/test_config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/packaging/tests/test_config.py b/Lib/packaging/tests/test_config.py index a276730..9198ead 100644 --- a/Lib/packaging/tests/test_config.py +++ b/Lib/packaging/tests/test_config.py @@ -114,7 +114,7 @@ libraries = gecodeint gecodekernel -- sys.platform != 'win32' GecodeInt GecodeKernel -- sys.platform == 'win32' [extension=fast_taunt] -name = three.fast_taunt +name = two.fast_taunt sources = cxx_src/utils_taunt.cxx cxx_src/python_module.cxx include_dirs = /usr/include/gecode @@ -305,7 +305,7 @@ class ConfigTestCase(support.TempdirManager, self.assertEqual(ext.extra_link_args, ['`gcc -print-file-name=libgcc.a`', '-shared']) - ext = ext_modules.get('three.fast_taunt') + ext = ext_modules.get('two.fast_taunt') self.assertEqual(ext.sources, ['cxx_src/utils_taunt.cxx', 'cxx_src/python_module.cxx']) self.assertEqual(ext.include_dirs, |