diff --git a/test/test_config.py b/test/test_config.py index ec9bb5b790..82b391c0c9 100644 --- a/test/test_config.py +++ b/test/test_config.py @@ -42,22 +42,22 @@ '#sopel', '&peculiar', '#private', - '"#startquote', # start quote withtout end quote: kept + '"#startquote', # start quote without end quote: kept '&endquote"', '""ed"', # quoted, but no #: quotes kept ] if sys.version_info.major < 3: - # Python 2.7's ConfigParser interpret as comments + # Python 2.7's ConfigParser interprets as comment # a line that starts with # or ;. - # Python 3 on the other hand, allow comments to be indented. + # Python 3, on the other hand, allows comments to be indented. # As a result, the same config file will result in a different - # config file depending on the Python version used. + # config object depending on the Python version used. # TODO: Deprecated with Python 2.7. TEST_CHANNELS = [ '#sopel', '&peculiar', - '# python 3 only comment', # indented line are not comment for Py2 + '# python 3 only comment', # indented lines cannot be comments in Py2 '#private', '"#startquote', '&endquote"', @@ -339,7 +339,7 @@ def test_save_modified_config(multi_fakeconfig): '#sopel', '#private', '&peculiar', - '"#startquote', # start quote withtout end quote: kept + '"#startquote', # start quote without end quote: kept '&endquote"', '""ed"', # doesn't start with a # so it isn't escaped ]