MCPcopy
hub / github.com/igrek51/wat / test_inspect_datetime_repr

Function test_inspect_datetime_repr

tests/inspection/test_inspect.py:145–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

143
144
145def test_inspect_datetime_repr():
146 output = inspect_format(datetime(2023, 8, 1), short=True)
147 assert_multiline_match(output, r'''
148str: 2023-08-01 00:00:00
149repr: datetime.datetime\(2023, 8, 1, 0, 0\)
150type: datetime.datetime
151parents: datetime\.date
152''')
153
154
155def test_inspect_long():

Callers

nothing calls this directly

Calls 2

inspect_formatFunction · 0.90
assert_multiline_matchFunction · 0.90

Tested by

no test coverage detected