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

Function test_to_string_invalid

tests/datetime/test_strings.py:103–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101
102
103def test_to_string_invalid():
104 d = pendulum.datetime(1975, 12, 25, 14, 15, 16, tz="local")
105
106 with pytest.raises(ValueError):
107 d._to_string("invalid")
108
109
110def test_repr():

Callers

nothing calls this directly

Calls 2

_to_stringMethod · 0.80
datetimeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…