diff options
author | Éric Araujo <merwok@netwok.org> | 2011-10-08 00:15:55 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-10-08 00:15:55 (GMT) |
commit | 5fb16cd1d281c69b443c3c8027a2f03721f2680b (patch) | |
tree | eedbd954890adf10716fbf10f2e774928ad52d89 /Lib/distutils | |
parent | eb35f25412c0034f6190f3d8f144b80c6928249f (diff) | |
download | cpython-5fb16cd1d281c69b443c3c8027a2f03721f2680b.zip cpython-5fb16cd1d281c69b443c3c8027a2f03721f2680b.tar.gz cpython-5fb16cd1d281c69b443c3c8027a2f03721f2680b.tar.bz2 |
Make C code in one distutils test comply with ISO C (#10359).
Patch by Hallvard B Furuseth.
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/tests/test_config_cmd.py | 4 |
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 a36a1d5..2cf3886 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): |