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

Method utcoffset

extra_tests/snippets/stdlib_datetime.py:99–100  ·  view source on GitHub ↗
(self, datetime_module)

Source from the content-addressed store, hash-verified

97
98class _TZInfo(tzinfo):
99 def utcoffset(self, datetime_module):
100 return random.random()
101
102
103# class TestTZInfo(unittest.TestCase):

Callers 1

stdlib_datetime.pyFile · 0.45

Calls 1

randomMethod · 0.45

Tested by

no test coverage detected