(self)
| 220 | async def test_cant_pickle_arg(arq_redis: ArqRedis): |
| 221 | class Foobar: |
| 222 | def __getstate__(self): |
| 223 | raise TypeError("this doesn't pickle") |
| 224 | |
| 225 | with pytest.raises(SerializationError, match='unable to serialize job "foobar"'): |
| 226 | await arq_redis.enqueue_job('foobar', Foobar()) |
nothing calls this directly
no outgoing calls
no test coverage detected