Clarify comment in comments test case explaining comment semantics.

This commit is contained in:
Georg Brandl 2010-07-31 20:13:44 +00:00
parent 6cb7b6593e
commit 7b280e9197

View File

@ -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!')