Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/python-pendulum/pendulum
/ test_singular_negative_values
Function
test_singular_negative_values
tests/duration/test_in_words.py:49–52 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
47
48
49
def
test_singular_negative_values():
50
pi = pendulum.duration(days=-1)
51
52
assert pi.in_words() ==
"-1 day"
53
54
55
def
test_separator():
Callers
nothing calls this directly
Calls
1
in_words
Method · 0.45
Tested by
no test coverage detected