diff options
author | Barry Warsaw <barry@python.org> | 2001-11-09 19:31:34 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2001-11-09 19:31:34 (GMT) |
commit | a4e5c71962a093dadf425b7a7b9d83fe4063f883 (patch) | |
tree | b23b87d9523048dce400e3e7a64a536d96b2e169 /Lib | |
parent | 7edd71a9f5342c5ef47a989c4582712982b1035f (diff) | |
download | cpython-a4e5c71962a093dadf425b7a7b9d83fe4063f883.zip cpython-a4e5c71962a093dadf425b7a7b9d83fe4063f883.tar.gz cpython-a4e5c71962a093dadf425b7a7b9d83fe4063f883.tar.bz2 |
test_formatdate(): Dang. Typo.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_email.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_email.py b/Lib/test/test_email.py index 06925d5..6a66199 100644 --- a/Lib/test/test_email.py +++ b/Lib/test/test_email.py @@ -926,7 +926,7 @@ class TestMiscellaneous(unittest.TestCase): self.assertEqual(gdate, 'Fri, 09 Nov 2001 17:33:52 -0000') # It's a little tougher to test for localtime, but we'll try. Skip if # we don't have strptime(). - if hasattr(time, 'striptime'): + if hasattr(time, 'strptime'): gtime = time.strptime(gdate.split()[4], '%H:%M:%S') ltime = time.strptime(ldate.split()[4], '%H:%M:%S') zone = ldate.split()[5] |