MCPcopy 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
26def 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
34def test_fluid_hour_setter():

Callers

nothing calls this directly

Calls 2

datetimeMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…