mirror of https://github.com/python/cpython
Merged revisions 72612 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72612 | tarek.ziade | 2009-05-14 00:16:03 +0200 (Thu, 14 May 2009) | 1 line adding void to the c function ........
This commit is contained in:
parent
c10f17306b
commit
279641b5ba
|
@ -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, 'void initfoo() {};\n')
|
||||
self.write_file(c_file, 'void initfoo(void) {};\n')
|
||||
ext = Extension('foo', [c_file])
|
||||
dist = Distribution({'name': 'xx',
|
||||
'ext_modules': [ext]})
|
||||
|
|
Loading…
Reference in New Issue