]> granicus.if.org Git - python/commitdiff
Merged revisions 73970 via svnmerge from
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
Sun, 12 Jul 2009 02:09:25 +0000 (02:09 +0000)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
Sun, 12 Jul 2009 02:09:25 +0000 (02:09 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73970 | hirokazu.yamamoto | 2009-07-12 11:04:47 +0900 | 1 line

  Fixed distutils test.
........

Lib/distutils/tests/test_build_ext.py

index d0716485dcca6d359ddf3ca7ecc69f1fde706ef1..153c875644195a76ce7189503604f086886e0e08 100644 (file)
@@ -233,7 +233,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])
         dist = Distribution({'name': 'xx',
                              'ext_modules': [ext]})