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

Skip to content

Commit 73b1e7d

Browse files
committed
Make C code in one packaging test comply with ISO C (#10359).
Patch by Hallvard B Furuseth.
1 parent 6ebea15 commit 73b1e7d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/packaging/tests/test_command_config.py

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

3131
# simple pattern searches
32-
match = cmd.search_cpp(pattern='xxx', body='// xxx')
32+
match = cmd.search_cpp(pattern='xxx', body='/* xxx */')
3333
self.assertEqual(match, 0)
3434

35-
match = cmd.search_cpp(pattern='_configtest', body='// xxx')
35+
match = cmd.search_cpp(pattern='_configtest', body='/* xxx */')
3636
self.assertEqual(match, 1)
3737

3838
def test_finalize_options(self):

0 commit comments

Comments
 (0)