From: Éric Araujo Date: Sat, 8 Oct 2011 00:58:50 +0000 (+0200) Subject: Make C code in one packaging test comply with ISO C (#10359). X-Git-Tag: v3.3.0a1~1244^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=73b1e7dd2098279910e89454d5ba92d5b46370da;p=thirdparty%2FPython%2Fcpython.git Make C code in one packaging test comply with ISO C (#10359). Patch by Hallvard B Furuseth. --- diff --git a/Lib/packaging/tests/test_command_config.py b/Lib/packaging/tests/test_command_config.py index 6d780c5fd5aa..dae75b4f87aa 100644 --- a/Lib/packaging/tests/test_command_config.py +++ b/Lib/packaging/tests/test_command_config.py @@ -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):