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

Function test_is_future

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

Source from the content-addressed store, hash-verified

74
75
76def test_is_future():
77 d = pendulum.Date.today()
78 assert not d.is_future()
79 d = d.add(days=1)
80 assert d.is_future()
81
82
83def test_is_past():

Callers

nothing calls this directly

Calls 3

todayMethod · 0.45
is_futureMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…