diff options
| author | Tarek Ziade <tarek@ziade.org> | 2011-05-21 19:48:04 (GMT) |
|---|---|---|
| committer | Tarek Ziade <tarek@ziade.org> | 2011-05-21 19:48:04 (GMT) |
| commit | 76ad4f0ec9be19ccd341bb0989d8de08671d29f5 (patch) | |
| tree | 7aee8db72419717a91f7930eb7ba44e651fd6cbd /Lib/packaging/tests/test_command_build_ext.py | |
| parent | 5edc31ecaf6b8eb2541054f6b9ed74c6b22bad4a (diff) | |
| download | cpython-76ad4f0ec9be19ccd341bb0989d8de08671d29f5.zip cpython-76ad4f0ec9be19ccd341bb0989d8de08671d29f5.tar.gz cpython-76ad4f0ec9be19ccd341bb0989d8de08671d29f5.tar.bz2 | |
fixed the export symbols for the win32 linker
Diffstat (limited to 'Lib/packaging/tests/test_command_build_ext.py')
| -rw-r--r-- | Lib/packaging/tests/test_command_build_ext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/packaging/tests/test_command_build_ext.py b/Lib/packaging/tests/test_command_build_ext.py index 2d79842..9dfa26b 100644 --- a/Lib/packaging/tests/test_command_build_ext.py +++ b/Lib/packaging/tests/test_command_build_ext.py @@ -239,7 +239,7 @@ class BuildExtTestCase(support.TempdirManager, def test_get_outputs(self): tmp_dir = self.mkdtemp() c_file = os.path.join(tmp_dir, 'foo.c') - self.write_file(c_file, 'void initfoo(void) {};\n') + self.write_file(c_file, 'void PyInit_foo(void) {};\n') ext = Extension('foo', [c_file], optional=False) dist = Distribution({'name': 'xx', 'ext_modules': [ext]}) |
