summaryrefslogtreecommitdiff
path: root/Lib/distutils/tests/test_config_cmd.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-10-07 23:13:45 +0200
committerÉric Araujo <merwok@netwok.org>2011-10-07 23:13:45 +0200
commitc782bcebe9b5a80ed7d95e94df2ca4683f4c2844 (patch)
treeca093f7f6b3e77706e744c6c2c3d3fa4b64586b2 /Lib/distutils/tests/test_config_cmd.py
parent8168b1a5a065310cc1f04f24556c356a2a6e59e8 (diff)
downloadcpython-c782bcebe9b5a80ed7d95e94df2ca4683f4c2844.tar.gz
Make C code in one distutils test comply with ISO C (#10359).
Patch by Hallvard B Furuseth.
Diffstat (limited to 'Lib/distutils/tests/test_config_cmd.py')
-rw-r--r--Lib/distutils/tests/test_config_cmd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/tests/test_config_cmd.py b/Lib/distutils/tests/test_config_cmd.py
index 4f7ebdd9fc..e2e6e4ebaa 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):