async def METHOD_NAME(s):
    """Ensure that the object properly pickle roundtrips even if no client, worker, etc. is active in the given context.
    This typically happens if the object is being deserialized on the scheduler.
    """
    async with Client(s.address, asynchronous=True) as c:
        q = await Queue()
        pickled = pickle.dumps(q)
    # We do not want to initialize a client during unpickling
    with pytest.raises(ValueError):
        Client.current()
    q2 = pickle.loads(pickled)
    with pytest.raises(ValueError):
        Client.current()
    assert q2.client is None
    await asyncio.sleep(0)
    with pytest.raises(RuntimeError, match="not properly initialized"):
        await q2.put(1)
    async with Client(s.address, asynchronous=True):
        q3 = pickle.loads(pickled)
        await q3.put(1)
        assert await q3.get() == 1