MCPcopy
hub / github.com/celery/celery / test_regular

Method test_regular

t/unit/backends/test_base.py:341–346  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

339 assert y.__class__.__module__ == 'foo.module'
340
341 def test_regular(self):
342 self.b.serializer = 'pickle'
343 x = self.b.prepare_exception(KeyError('baz'))
344 assert isinstance(x, KeyError)
345 y = self.b.exception_to_python(x)
346 assert isinstance(y, KeyError)
347
348 def test_unicode_message(self):
349 message = '\u03ac'

Callers

nothing calls this directly

Calls 2

prepare_exceptionMethod · 0.80
exception_to_pythonMethod · 0.80

Tested by

no test coverage detected