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

Class Edgy

Lib/test/datetimetester.py:4411–4415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4409
4410 def test_utc_offset_out_of_bounds(self):
4411 class Edgy(tzinfo):
4412 def __init__(self, offset):
4413 self.offset = timedelta(minutes=offset)
4414 def utcoffset(self, dt):
4415 return self.offset
4416
4417 cls = self.theclass
4418 for offset, legit in ((-1440, False),

Callers 1

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…