From: Éric Araujo Date: Fri, 7 Oct 2011 21:13:45 +0000 (+0200) Subject: Make C code in one distutils test comply with ISO C (#10359). X-Git-Tag: v3.2.3rc1~514^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=db95c7a60c5ec404523bb7bbc13dd96bf87d15b8;p=thirdparty%2FPython%2Fcpython.git 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 4f7ebdd9fc1b..e2e6e4ebaa27 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):