Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ test_sub_unsupported
Function
test_sub_unsupported
tests/duration/test_add_sub.py:47–49 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
45
46
47
def
test_sub_unsupported():
48
p = pendulum.duration(days=23, seconds=32)
49
assert NotImplemented == p.__sub__(5)
50
51
52
def
test_neg():
Callers
nothing calls this directly
Calls
1
__sub__
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…