Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/celery/celery
/ test_maybe_iso8601_datetime
Function
test_maybe_iso8601_datetime
t/unit/utils/test_time.py:99–101 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
97
98
99
def
test_maybe_iso8601_datetime():
100
now = datetime.now()
101
assert maybe_iso8601(now) is now
102
103
104
@pytest.mark.parametrize(
'date_str,expected'
, [
Callers
nothing calls this directly
Calls
2
maybe_iso8601
Function · 0.90
now
Method · 0.45
Tested by
no test coverage detected