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

Class C1

Lib/test/datetimetester.py:4440–4443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4438 def test_tzinfo_classes(self):
4439 cls = self.theclass
4440 class C1(tzinfo):
4441 def utcoffset(self, dt): return None
4442 def dst(self, dt): return None
4443 def tzname(self, dt): return None
4444 for t in (cls(1, 1, 1),
4445 cls(1, 1, 1, tzinfo=None),
4446 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