MCPcopy Create free account
hub / github.com/dateutil/dateutil / rdChildClass

Class rdChildClass

tests/test_relativedelta.py:18–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 def testInheritance(self):
17 # Ensure that relativedelta is inheritance-friendly.
18 class rdChildClass(relativedelta):
19 pass
20
21 ccRD = rdChildClass(years=1, months=1, days=1, leapdays=1, weeks=1,
22 hours=1, minutes=1, seconds=1, microseconds=1)

Callers 1

testInheritanceMethod · 0.85

Calls

no outgoing calls

Tested by 1

testInheritanceMethod · 0.68