mirror of https://github.com/python/cpython
Fix silly typo in test name.
This commit is contained in:
parent
915c87d3e5
commit
966bb8c59b
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue