Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ DateTimeSubclass
Class
DateTimeSubclass
Lib/test/datetimetester.py:7039–7040 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7037
7038
def
test_PyDateTime_DATE_GET(self):
7039
class
DateTimeSubclass(datetime):
7040
pass
7041
7042
for
klass in [datetime, DateTimeSubclass]:
7043
for
args in [(1993, 8, 26, 22, 12, 55, 99999),
Callers
5
test_subclass_datetime
Method · 0.70
test_subclass_alternate_constructors_datetime
Method · 0.70
test_subclass_replace_fold
Method · 0.70
test_fromisoformat_subclass
Method · 0.70
test_check_datetime
Method · 0.70
Calls
no outgoing calls
Tested by
5
test_subclass_datetime
Method · 0.56
test_subclass_alternate_constructors_datetime
Method · 0.56
test_subclass_replace_fold
Method · 0.56
test_fromisoformat_subclass
Method · 0.56
test_check_datetime
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…