MCPcopy Create free account
hub / github.com/python-arq/arq / UnpickleFails

Class UnpickleFails

tests/test_worker.py:714–719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

712
713
714class UnpickleFails:
715 def __init__(self, v):
716 self.v = v
717
718 def __setstate__(self, state):
719 raise ValueError('this broke')
720
721
722@pytest.mark.skipif(sys.version_info < (3, 7), reason='repr(exc) is ugly in 3.6')

Callers 1

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…