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

Class SubclassDate

Lib/test/datetimetester.py:1219–1220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1217 date.strptime('02-29,2024', '%m-%d,%Y')
1218
1219class SubclassDate(date):
1220 sub_var = 1
1221
1222class TestDate(HarmlessMixedComparison, unittest.TestCase):
1223 # Tests here should pass for both dates and datetimes, except for a

Callers 3

test_repr_subclassMethod · 0.85

Calls

no outgoing calls

Tested by 3

test_repr_subclassMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…