From: Éric Araujo Date: Sat, 8 Oct 2011 00:15:55 +0000 (+0200) Subject: Make C code in one distutils test comply with ISO C (#10359). X-Git-Tag: v2.7.3rc1~413^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5fb16cd1d281c69b443c3c8027a2f03721f2680b;p=python Make C code in one distutils test comply with ISO C (#10359). Patch by Hallvard B Furuseth. --- diff --git a/Lib/distutils/tests/test_config_cmd.py b/Lib/distutils/tests/test_config_cmd.py index a36a1d5b49..2cf3886cb5 100644 --- a/Lib/distutils/tests/test_config_cmd.py +++ b/Lib/distutils/tests/test_config_cmd.py @@ -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):