summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-10-07 21:13:45 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-10-07 21:13:45 (GMT)
commitdb95c7a60c5ec404523bb7bbc13dd96bf87d15b8 (patch)
tree3e8ab731a35b889af288f87511ec3674bb995001 /Lib/distutils/tests
parent35a502b32417241eba53336780afb10b54fcf4be (diff)
downloadcpython-db95c7a60c5ec404523bb7bbc13dd96bf87d15b8.zip
cpython-db95c7a60c5ec404523bb7bbc13dd96bf87d15b8.tar.gz
cpython-db95c7a60c5ec404523bb7bbc13dd96bf87d15b8.tar.bz2
Make C code in one distutils test comply with ISO C (#10359).
Patch by Hallvard B Furuseth.
Diffstat (limited to 'Lib/distutils/tests')
-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 4f7ebdd..e2e6e4e 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):