def METHOD_NAME(self, test_object):
    """Test that setting with timeout=0 works,
    and that wait_ready raises an error afterwards"""
    if test_object.read_only:
        return
    startval = test_object.get_value()
    test_object.set_value(startval, timeout=0)
    # Must be set to None so the next command causes a change
    test_object._nominal_value = None
    with pytest.raises(RuntimeError):
        test_object.set_value(startval, timeout=0)
        test_object.wait_ready(timeout=1.0e-6)