Kaydet (Commit) 966bb8c5 authored tarafından Guido van Rossum's avatar Guido van Rossum

Fix silly typo in test name.

üst 915c87d3
...@@ -989,7 +989,7 @@ class TestDate(HarmlessMixedComparison, unittest.TestCase): ...@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment