[Python-checkins] r83360 - python/branches/py3k/Lib/test/test_cfgparser.py

georg.brandl python-checkins at python.org
Sat Jul 31 22:13:44 CEST 2010


Author: georg.brandl
Date: Sat Jul 31 22:13:44 2010
New Revision: 83360

Log:
Clarify comment in comments test case explaining comment semantics.

Modified:
   python/branches/py3k/Lib/test/test_cfgparser.py

Modified: python/branches/py3k/Lib/test/test_cfgparser.py
==============================================================================
--- python/branches/py3k/Lib/test/test_cfgparser.py	(original)
+++ python/branches/py3k/Lib/test/test_cfgparser.py	Sat Jul 31 22:13:44 2010
@@ -676,7 +676,7 @@
         # 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!')


More information about the Python-checkins mailing list