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

Function test_equal_to_true

tests/datetime/test_comparison.py:12–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11
12def test_equal_to_true():
13 d1 = pendulum.datetime(2000, 1, 1, 1, 2, 3)
14 d2 = pendulum.datetime(2000, 1, 1, 1, 2, 3)
15 d3 = datetime(2000, 1, 1, 1, 2, 3, tzinfo=pendulum.UTC)
16
17 assert d2 == d1
18 assert d3 == d1
19
20
21def test_equal_to_false():

Callers

nothing calls this directly

Calls 2

datetimeFunction · 0.85
datetimeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…