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

Function test_equal_to_false

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

Source from the content-addressed store, hash-verified

19
20
21def test_equal_to_false():
22 d1 = pendulum.datetime(2000, 1, 1, 1, 2, 3)
23 d2 = pendulum.datetime(2000, 1, 2, 1, 2, 3)
24 d3 = datetime(2000, 1, 2, 1, 2, 3, tzinfo=pendulum.UTC)
25
26 assert d2 != d1
27 assert d3 != d1
28
29
30def test_equal_with_timezone_true():

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…