MCPcopy Create free account
hub / github.com/python/cpython / _TZInfo

Class _TZInfo

Lib/test/datetimetester.py:164–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162 __slots__ = '_FixedOffset__offset', '_FixedOffset__name', 'spam'
163
164class _TZInfo(tzinfo):
165 def utcoffset(self, datetime_module):
166 return random.random()
167
168class TestTZInfo(unittest.TestCase):
169

Callers 1

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…