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

Class Edgy

Lib/test/datetimetester.py:4228–4232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4226
4227 def test_utc_offset_out_of_bounds(self):
4228 class Edgy(tzinfo):
4229 def __init__(self, offset):
4230 self.offset = timedelta(minutes=offset)
4231 def utcoffset(self, dt):
4232 return self.offset
4233
4234 cls = self.theclass
4235 for offset, legit in ((-1440, False),

Callers 1

Calls

no outgoing calls

Tested by 1