[Python-checkins] r72612 - python/trunk/Lib/distutils/tests/test_build_ext.py

tarek.ziade python-checkins at python.org
Thu May 14 00:16:03 CEST 2009


Author: tarek.ziade
Date: Thu May 14 00:16:03 2009
New Revision: 72612
Log:
adding void to the c function
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	Thu May 14 00:16:03 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, 'void initfoo() {};\n')
+ self.write_file(c_file, 'void initfoo(void) {};\n')
 ext = Extension('foo', [c_file], optional=False)
 dist = Distribution({'name': 'xx',
 'ext_modules': [ext]})


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /