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

Method test_y_after_1900

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

Source from the content-addressed store, hash-verified

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(
212 time.strftime("%y", (2013, 1, 1, 0, 0, 0, 0, 0, 0)), "13")
213
214if __name__ == '__main__':
215 unittest.main()

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
strftimeMethod · 0.45

Tested by

no test coverage detected