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

Function test_fluid_second_setter

tests/datetime/test_fluent_setters.py:50–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48
49
50def test_fluid_second_setter():
51 d = pendulum.datetime(2016, 7, 2, 0, 41, 20)
52 new = d.set(second=49)
53 assert isinstance(new, datetime)
54 assert new.second == 49
55 assert d.second == 20
56
57
58def test_fluid_microsecond_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…