MCPcopy Create free account
hub / github.com/celery/celery / test_init

Method test_init

t/unit/utils/test_serialization.py:48–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46class test_UnpickleExceptionWrapper:
47
48 def test_init(self):
49 x = UnpickleableExceptionWrapper('foo', 'Bar', [10, lambda x: x])
50 assert x.exc_args
51 assert len(x.exc_args) == 2
52
53
54class test_get_pickleable_etype:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected