summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-10-08 00:58:50 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-10-08 00:58:50 (GMT)
commit73b1e7dd2098279910e89454d5ba92d5b46370da (patch)
tree5bf7897295c20042ab000c0074c25c0ea77b26e0
parent6ebea15e0b25840f8eda7d9ff7c8a0e0128c4271 (diff)
downloadcpython-73b1e7dd2098279910e89454d5ba92d5b46370da.zip
cpython-73b1e7dd2098279910e89454d5ba92d5b46370da.tar.gz
cpython-73b1e7dd2098279910e89454d5ba92d5b46370da.tar.bz2
Make C code in one packaging test comply with ISO C (#10359).
Patch by Hallvard B Furuseth.
-rw-r--r--Lib/packaging/tests/test_command_config.py4
1 files 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):