From: Tarek Ziadé Date: Wed, 13 May 2009 22:08:54 +0000 (+0000) Subject: Merged revisions 72610 via svnmerge from X-Git-Tag: v2.6.3rc1~289 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c10f17306b83f8268a7508a10be2d1e2751b63d5;p=python Merged revisions 72610 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r72610 | tarek.ziade | 2009-05-13 23:30:06 +0200 (Wed, 13 May 2009) | 1 line added an inifoo in the C file, to avoid a warning by the MSVC9 linker ........ --- diff --git a/Lib/distutils/tests/test_build_ext.py b/Lib/distutils/tests/test_build_ext.py index 8889798c88..20f0553985 100644 --- a/Lib/distutils/tests/test_build_ext.py +++ b/Lib/distutils/tests/test_build_ext.py @@ -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, '') + self.write_file(c_file, 'void initfoo() {};\n') ext = Extension('foo', [c_file]) dist = Distribution({'name': 'xx', 'ext_modules': [ext]})