MCPcopy
hub / github.com/celery/celery / test_reduce

Method test_reduce

t/unit/app/test_schedules.py:38–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

36 self.s = solar('sunrise', 60, 30, app=self.app)
37
38 def test_reduce(self):
39 fun, args = self.s.__reduce__()
40 assert fun(*args) == self.s
41
42 def test_eq(self):
43 assert self.s == solar('sunrise', 60, 30, app=self.app)

Callers

nothing calls this directly

Calls 2

funFunction · 0.85
__reduce__Method · 0.45

Tested by

no test coverage detected