Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ test_replace
Function
test_replace
tests/time/test_fluent_setters.py:7–12 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5
6
7
def
test_replace():
8
t = Time(12, 34, 56, 123456)
9
t = t.replace(1, 2, 3, 654321)
10
11
assert isinstance(t, Time)
12
assert_time(t, 1, 2, 3, 654321)
Callers
nothing calls this directly
Calls
3
replace
Method · 0.95
Time
Class · 0.90
assert_time
Function · 0.90
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…