summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-05-13 22:20:49 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-05-13 22:20:49 (GMT)
commit4e3533ee9f243c3e67bbad15e203266b98fe2985 (patch)
treec711189dba440aed06dca61052742cd65489b9c6 /Lib
parent4487f53fd67cc9c5c391a342808a82ee26d57763 (diff)
downloadcpython-4e3533ee9f243c3e67bbad15e203266b98fe2985.zip
cpython-4e3533ee9f243c3e67bbad15e203266b98fe2985.tar.gz
cpython-4e3533ee9f243c3e67bbad15e203266b98fe2985.tar.bz2
Merged revisions 72610,72612 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 ........ r72612 | tarek.ziade | 2009-05-14 00:16:03 +0200 (Thu, 14 May 2009) | 1 line adding void to the c function ........
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/tests/test_build_ext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_build_ext.py b/Lib/distutils/tests/test_build_ext.py
index 86064fc..64ca650 100644
--- a/Lib/distutils/tests/test_build_ext.py
+++ b/Lib/distutils/tests/test_build_ext.py
@@ -296,7 +296,7 @@ class BuildExtTestCase(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(void) {};\n')
ext = Extension('foo', [c_file], optional=False)
dist = Distribution({'name': 'xx',
'ext_modules': [ext]})