mirror of
https://github.com/python/cpython.git
synced 2025-12-10 02:50:09 +00:00
Clarify comment in comments test case explaining comment semantics.
This commit is contained in:
parent
6cb7b6593e
commit
7b280e9197
1 changed files with 1 additions and 1 deletions
|
|
@ -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!')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue