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

Function test_neg

tests/duration/test_add_sub.py:52–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50
51
52def test_neg():
53 p = pendulum.duration(days=23, seconds=32)
54 assert_duration(-p, 0, 0, -3, -2, 0, 0, -32)

Callers

nothing calls this directly

Calls 1

assert_durationFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…