Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ test_fluid_hour_setter
Function
test_fluid_hour_setter
tests/datetime/test_fluent_setters.py:34–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
32
33
34
def
test_fluid_hour_setter():
35
d = pendulum.datetime(2016, 7, 2, 0, 41, 20)
36
new = d.set(hour=5)
37
assert isinstance(new, datetime)
38
assert new.hour == 5
39
assert d.hour == 0
40
41
42
def
test_fluid_minute_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…