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

Class NotEnough

Lib/test/datetimetester.py:182–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180
181 def test_subclass_must_override(self):
182 class NotEnough(tzinfo):
183 def __init__(self, offset, name):
184 self.__offset = offset
185 self.__name = name
186 self.assertIsSubclass(NotEnough, tzinfo)
187 ne = NotEnough(3, "NotByALongShot")
188 self.assertIsInstance(ne, tzinfo)

Callers 1

Calls

no outgoing calls

Tested by 1