MCPcopy Index your code
hub / github.com/python-pendulum/pendulum / test_is_past

Function test_is_past

tests/date/test_getters.py:83–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81
82
83def test_is_past():
84 d = pendulum.Date.today()
85 assert not d.is_past()
86 d = d.subtract(days=1)
87 assert d.is_past()

Callers

nothing calls this directly

Calls 3

todayMethod · 0.45
is_pastMethod · 0.45
subtractMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…