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

Method utcoffset

Lib/test/datetimetester.py:160–161  ·  view source on GitHub ↗
(self, datetime_module)

Source from the content-addressed store, hash-verified

158
159class _TZInfo(tzinfo):
160 def utcoffset(self, datetime_module):
161 return random.random()
162
163class TestTZInfo(unittest.TestCase):
164

Callers 15

test_issue23600Method · 0.45
test_class_membersMethod · 0.45
test_constructorMethod · 0.45
test_utcoffsetMethod · 0.45
test_fromutcMethod · 0.45
test_aware_datetimeMethod · 0.45
test_strptimeMethod · 0.45
test_strptime_tzMethod · 0.45
test_argument_passingMethod · 0.45
test_tzinfo_classesMethod · 0.45

Calls 1

randomMethod · 0.45

Tested by

no test coverage detected