From 73b1e7dd2098279910e89454d5ba92d5b46370da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Sat, 8 Oct 2011 02:58:50 +0200 Subject: Make C code in one packaging test comply with ISO C (#10359). Patch by Hallvard B Furuseth. --- Lib/packaging/tests/test_command_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/packaging/tests/test_command_config.py b/Lib/packaging/tests/test_command_config.py index 6d780c5..dae75b4 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): -- cgit v0.12