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

Method test_ctime

Lib/test/datetimetester.py:1586–1588  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1584 self.assertEqual(t.isoformat(), "0002-03-02")
1585
1586 def test_ctime(self):
1587 t = self.theclass(2002, 3, 2)
1588 self.assertEqual(t.ctime(), "Sat Mar 2 00:00:00 2002")
1589
1590 def test_strftime(self):
1591 t = self.theclass(2005, 3, 2)

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
ctimeMethod · 0.45

Tested by

no test coverage detected