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

Method test_negative_float_fromtimestamp

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

Source from the content-addressed store, hash-verified

2983 insane)
2984
2985 def test_negative_float_fromtimestamp(self):
2986 # The result is tz-dependent; at least test that this doesn't
2987 # fail (like it did before bug 1646728 was fixed).
2988 self.theclass.fromtimestamp(-1.05)
2989
2990 def test_negative_float_utcfromtimestamp(self):
2991 with self.assertWarns(DeprecationWarning):

Callers

nothing calls this directly

Calls 1

fromtimestampMethod · 0.45

Tested by

no test coverage detected