]> granicus.if.org Git - python/commitdiff
Fixed distutils test.
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
Sun, 12 Jul 2009 02:04:47 +0000 (02:04 +0000)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
Sun, 12 Jul 2009 02:04:47 +0000 (02:04 +0000)
Lib/distutils/tests/test_build_ext.py

index 51a21a68b49e99cf1cb26f9c967b3000b8e5aca1..4c09dd80a38910e4fd17ec5150aac1060840cf16 100644 (file)
@@ -299,7 +299,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 init_foo(void) {};\n')
+        self.write_file(c_file, 'void initfoo(void) {};\n')
         ext = Extension('foo', [c_file], optional=False)
         dist = Distribution({'name': 'xx',
                              'ext_modules': [ext]})