diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-11-09 09:32:19 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-11-09 09:32:19 (GMT) |
commit | 3e2b7171bf29f80c06805e60741b5b813376294e (patch) | |
tree | b960e5babf48bba22a5a4ff23fdc0fc1746cae13 /Lib/distutils | |
parent | 572895b8ebbd694b8b004d6c2649f0ea647c6bf0 (diff) | |
download | cpython-3e2b7171bf29f80c06805e60741b5b813376294e.zip cpython-3e2b7171bf29f80c06805e60741b5b813376294e.tar.gz cpython-3e2b7171bf29f80c06805e60741b5b813376294e.tar.bz2 |
Issue #10359: Remove ";" after function definition, invalid in ISO C
Diffstat (limited to 'Lib/distutils')
-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 46ac9aa..203cbc9 100644 --- a/Lib/distutils/tests/test_build_ext.py +++ b/Lib/distutils/tests/test_build_ext.py @@ -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]}) |