summaryrefslogtreecommitdiff
path: root/Lib/test/test_strptime.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-02-10 05:44:01 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-02-10 05:44:01 +0000
commitc04fb56e36999a4162e6ccfe1f9357100abaee99 (patch)
tree68f930a7b0956c487f671f6868fc00bac6edafb7 /Lib/test/test_strptime.py
parent96a4f07107476c0038ff1302b7ef779cab07e8ae (diff)
downloadcpython-git-c04fb56e36999a4162e6ccfe1f9357100abaee99.tar.gz
Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similar
The original form is incorrect grammar and feels awkward, even though the meaning is clear.
Diffstat (limited to 'Lib/test/test_strptime.py')
-rw-r--r--Lib/test/test_strptime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_strptime.py b/Lib/test/test_strptime.py
index 1bf1748779..0319d5d150 100644
--- a/Lib/test/test_strptime.py
+++ b/Lib/test/test_strptime.py
@@ -190,7 +190,7 @@ class TimeRETests(unittest.TestCase):
def test_whitespace_substitution(self):
# When pattern contains whitespace, make sure it is taken into account
- # so as to not allow to subpatterns to end up next to each other and
+ # so as to not allow subpatterns to end up next to each other and
# "steal" characters from each other.
pattern = self.time_re.pattern('%j %H')
self.assertFalse(re.match(pattern, "180"))