mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Make C code in one packaging test comply with ISO C (#10359).
Patch by Hallvard B Furuseth.
This commit is contained in:
parent
6ebea15e0b
commit
73b1e7dd20
1 changed files with 2 additions and 2 deletions
|
|
@ -29,10 +29,10 @@ class ConfigTestCase(support.LoggingCatcher,
|
|||
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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue