mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Issue #10359: Remove ";" after function definition, invalid in ISO C
This commit is contained in:
parent
572895b8eb
commit
3e2b7171bf
4 changed files with 4 additions and 4 deletions
|
@ -318,7 +318,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, 'void PyInit_foo(void) {};\n')
|
||||
self.write_file(c_file, 'void PyInit_foo(void) {}\n')
|
||||
ext = Extension('foo', [c_file], optional=False)
|
||||
dist = Distribution({'name': 'xx',
|
||||
'ext_modules': [ext]})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue