summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_email.py2
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]