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

Class C1

Lib/test/datetimetester.py:4257–4260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4255 def test_tzinfo_classes(self):
4256 cls = self.theclass
4257 class C1(tzinfo):
4258 def utcoffset(self, dt): return None
4259 def dst(self, dt): return None
4260 def tzname(self, dt): return None
4261 for t in (cls(1, 1, 1),
4262 cls(1, 1, 1, tzinfo=None),
4263 cls(1, 1, 1, tzinfo=C1())):

Callers 1

test_tzinfo_classesMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_tzinfo_classesMethod · 0.56