summaryrefslogtreecommitdiff
path: root/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
commitc29e03a0344d5914bc500782ffc243dee4e3aac4 (patch)
tree14d4680d03fed806dbff8d82e4f5d5e5f09e6a5b /tests/test_config_cmd.py
parent9da8782eff11b5aa19156596f5cfec1d776c776f (diff)
downloadpython-setuptools-git-c29e03a0344d5914bc500782ffc243dee4e3aac4.tar.gz
Make C code in one distutils test comply with ISO C (#10359).
Patch by Hallvard B Furuseth.
Diffstat (limited to 'tests/test_config_cmd.py')
-rw-r--r--tests/test_config_cmd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_config_cmd.py b/tests/test_config_cmd.py
index 4f7ebdd9..e2e6e4eb 100644
--- a/tests/test_config_cmd.py
+++ b/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):