summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-31 20:13:44 (GMT)
committerGeorg Brandl <georg@python.org>2010-07-31 20:13:44 (GMT)
commit7b280e9197fcded4661b90ca064f1a83f2d80608 (patch)
treeca30370a00d647da18d2436e36410ac3ea344510 /Lib/test
parent6cb7b6593ee03aedebae1bc9bd0f76912efa275a (diff)
downloadcpython-7b280e9197fcded4661b90ca064f1a83f2d80608.zip
cpython-7b280e9197fcded4661b90ca064f1a83f2d80608.tar.gz
cpython-7b280e9197fcded4661b90ca064f1a83f2d80608.tar.bz2
Clarify comment in comments test case explaining comment semantics.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_cfgparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_cfgparser.py b/Lib/test/test_cfgparser.py
index 5a77bfd..e54ccfe 100644
--- a/Lib/test/test_cfgparser.py
+++ b/Lib/test/test_cfgparser.py
@@ -676,7 +676,7 @@ class CompatibleTestCase(CfgParserTestCaseClass):
# but this is a comment
; another comment
quirk: this;is not a comment
- ; a space must precede a comment character
+ ; a space must precede an inline comment
""")
cf = self.fromstring(config_string)
self.assertEqual(cf.get('Commented Bar', 'foo'), 'bar # not a comment!')