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

Method test_formatdate

Lib/test/test_email/test_email.py:3078–3081  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3076 ])
3077
3078 def test_formatdate(self):
3079 now = time.time()
3080 self.assertEqual(utils.parsedate(utils.formatdate(now))[:6],
3081 time.gmtime(now)[:6])
3082
3083 def test_formatdate_localtime(self):
3084 now = time.time()

Callers

nothing calls this directly

Calls 2

timeMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected