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

Method utcfromtimestamp

Lib/test/datetimetester.py:2731–2733  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

2729 @support.run_with_tz('MSK-03') # Something east of Greenwich
2730 def test_microsecond_rounding(self):
2731 def utcfromtimestamp(*args, **kwargs):
2732 with self.assertWarns(DeprecationWarning):
2733 return self.theclass.utcfromtimestamp(*args, **kwargs)
2734
2735 for fts in [self.theclass.fromtimestamp,
2736 utcfromtimestamp]:

Calls 1

assertWarnsMethod · 0.80

Tested by

no test coverage detected