Make C code in one distutils test comply with ISO C (#10359).

Patch by Hallvard B Furuseth.
This commit is contained in:
Éric Araujo 2011-10-07 23:13:45 +02:00
parent 35a502b324
commit db95c7a60c
1 changed files with 2 additions and 2 deletions

View File

@ -44,10 +44,10 @@ class ConfigTestCase(support.LoggingSilencer,
cmd = config(dist)
# simple pattern searches
match = cmd.search_cpp(pattern='xxx', body='// xxx')
match = cmd.search_cpp(pattern='xxx', body='/* xxx */')
self.assertEqual(match, 0)
match = cmd.search_cpp(pattern='_configtest', body='// xxx')
match = cmd.search_cpp(pattern='_configtest', body='/* xxx */')
self.assertEqual(match, 1)
def test_finalize_options(self):