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

Method test_ctime_without_arg

Lib/test/test_time.py:512–517  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

510 self.assertRaises(OverflowError, func, unreasonable)
511
512 def test_ctime_without_arg(self):
513 # Not sure how to check the values, since the clock could tick
514 # at any time. Make sure these are at least accepted and
515 # don't raise errors.
516 time.ctime()
517 time.ctime(None)
518
519 def test_gmtime_without_arg(self):
520 gt0 = time.gmtime()

Callers

nothing calls this directly

Calls 1

ctimeMethod · 0.45

Tested by

no test coverage detected