MCPcopy Index your code
hub / github.com/RustPython/RustPython / utcfromtimestamp

Method utcfromtimestamp

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

Source from the content-addressed store, hash-verified

2680 @support.run_with_tz('MSK-03') # Something east of Greenwich
2681 def test_microsecond_rounding(self):
2682 def utcfromtimestamp(*args, **kwargs):
2683 with self.assertWarns(DeprecationWarning):
2684 return self.theclass.utcfromtimestamp(*args, **kwargs)
2685
2686 for fts in [self.theclass.fromtimestamp,
2687 utcfromtimestamp]:

Calls 1

assertWarnsMethod · 0.80

Tested by

no test coverage detected