Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit db95c7a

Browse files
committed
Make C code in one distutils test comply with ISO C (#10359).
Patch by Hallvard B Furuseth.
1 parent 35a502b commit db95c7a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/distutils/tests/test_config_cmd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ def test_search_cpp(self):
4444
cmd = config(dist)
4545

4646
# simple pattern searches
47-
match = cmd.search_cpp(pattern='xxx', body='// xxx')
47+
match = cmd.search_cpp(pattern='xxx', body='/* xxx */')
4848
self.assertEqual(match, 0)
4949

50-
match = cmd.search_cpp(pattern='_configtest', body='// xxx')
50+
match = cmd.search_cpp(pattern='_configtest', body='/* xxx */')
5151
self.assertEqual(match, 1)
5252

5353
def test_finalize_options(self):

0 commit comments

Comments
 (0)