diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-05-13 22:16:03 (GMT) |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-05-13 22:16:03 (GMT) |
commit | d547144f0fe10e309bb9c95cba3c5df58bcc079c (patch) | |
tree | eba5e5d6ebfdd7946ad636f8bac8ead4026253f8 /Lib/distutils/tests/test_build_ext.py | |
parent | 16524104291a852272e09632a6f972a0539912ec (diff) | |
download | cpython-d547144f0fe10e309bb9c95cba3c5df58bcc079c.zip cpython-d547144f0fe10e309bb9c95cba3c5df58bcc079c.tar.gz cpython-d547144f0fe10e309bb9c95cba3c5df58bcc079c.tar.bz2 |
adding void to the c function
Diffstat (limited to 'Lib/distutils/tests/test_build_ext.py')
-rw-r--r-- | Lib/distutils/tests/test_build_ext.py | 2 |
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 6d3852c..45c5b39 100644 --- a/Lib/distutils/tests/test_build_ext.py +++ b/Lib/distutils/tests/test_build_ext.py @@ -296,7 +296,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 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]}) |