Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ test_fluid_day_setter
Function
test_fluid_day_setter
tests/datetime/test_fluent_setters.py:26–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
24
25
26
def
test_fluid_day_setter():
27
d = pendulum.datetime(2016, 7, 2, 0, 41, 20)
28
new = d.set(day=9)
29
assert isinstance(new, datetime)
30
assert new.day == 9
31
assert d.day == 2
32
33
34
def
test_fluid_hour_setter():
Callers
nothing calls this directly
Calls
2
datetime
Method · 0.45
set
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…