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

Class NotEnough

Lib/test/datetimetester.py:187–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185
186 def test_subclass_must_override(self):
187 class NotEnough(tzinfo):
188 def __init__(self, offset, name):
189 self.__offset = offset
190 self.__name = name
191 self.assertIsSubclass(NotEnough, tzinfo)
192 ne = NotEnough(3, "NotByALongShot")
193 self.assertIsInstance(ne, tzinfo)

Callers 1

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…