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

Function test_add

tests/datetime/test_naive.py:47–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45
46
47def test_add():
48 dt = pendulum.naive(2013, 3, 31, 2, 30)
49 new = dt.add(days=3)
50
51 assert_datetime(new, 2013, 4, 3, 2, 30)
52
53
54def test_subtract():

Callers

nothing calls this directly

Calls 3

assert_datetimeFunction · 0.90
naiveMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…