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

Method test_fromtimestamp_with_none_arg

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

Source from the content-addressed store, hash-verified

1458 insane)
1459
1460 def test_fromtimestamp_with_none_arg(self):
1461 # See gh-120268 for more details
1462 with self.assertRaises(TypeError):
1463 self.theclass.fromtimestamp(None)
1464
1465 def test_today(self):
1466 import time

Callers

nothing calls this directly

Calls 2

assertRaisesMethod · 0.45
fromtimestampMethod · 0.45

Tested by

no test coverage detected