Fix silly typo in test name.

This commit is contained in:
Guido van Rossum 2007-08-24 14:53:14 +00:00
parent 915c87d3e5
commit 966bb8c59b
1 changed files with 1 additions and 1 deletions

View File

@ -989,7 +989,7 @@ class TestDate(HarmlessMixedComparison, unittest.TestCase):
self.failUnless(self.theclass.min) self.failUnless(self.theclass.min)
self.failUnless(self.theclass.max) self.failUnless(self.theclass.max)
def test_srftime_out_of_range(self): def test_strftime_out_of_range(self):
# For nasty technical reasons, we can't handle years before 1900. # For nasty technical reasons, we can't handle years before 1900.
cls = self.theclass cls = self.theclass
self.assertEqual(cls(1900, 1, 1).strftime("%Y"), "1900") self.assertEqual(cls(1900, 1, 1).strftime("%Y"), "1900")