[Python-checkins] r72610 - python/trunk/Lib/distutils/tests/test_build_ext.py
tarek.ziade
python-checkins at python.org
Wed May 13 23:30:06 CEST 2009
Author: tarek.ziade
Date: Wed May 13 23:30:06 2009
New Revision: 72610
Log:
added an inifoo in the C file, to avoid a warning by the MSVC9 linker
Modified:
python/trunk/Lib/distutils/tests/test_build_ext.py
Modified: python/trunk/Lib/distutils/tests/test_build_ext.py
==============================================================================
--- python/trunk/Lib/distutils/tests/test_build_ext.py (original)
+++ python/trunk/Lib/distutils/tests/test_build_ext.py Wed May 13 23:30:06 2009
@@ -296,7 +296,7 @@
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], optional=False)
dist = Distribution({'name': 'xx',
'ext_modules': [ext]})
More information about the Python-checkins
mailing list