MCPcopy Index your code
hub / github.com/python/cpython / test_y_1900

Method test_y_1900

Lib/test/test_strftime.py:206–208  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

204 self.assertEqual(time.strftime("%y", t), "99")
205
206 def test_y_1900(self):
207 self.assertEqual(
208 time.strftime("%y", (1900, 1, 1, 0, 0, 0, 0, 0, 0)), "00")
209
210 def test_y_after_1900(self):
211 self.assertEqual(

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
strftimeMethod · 0.45

Tested by

no test coverage detected