MCPcopy Index your code
hub / github.com/python-pendulum/pendulum / test_fluid_month_setter

Function test_fluid_month_setter

tests/date/test_fluent_setters.py:16–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15
16def test_fluid_month_setter():
17 d = pendulum.Date(2016, 7, 2)
18 new = d.set(month=11)
19
20 assert new.month == 11
21 assert d.month == 7
22
23
24def test_fluid_day_setter():

Callers

nothing calls this directly

Calls 1

setMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…