def test_to_arguments_no_name():
    with raises(AssertionError) as excinfo:
        to_arguments(
            String(),
        )
    assert 'must have a name' in str(excinfo.value)
dataset/ETHPy150Open graphql-python/graphene/graphene/core/types/tests/test_argument.py/test_to_arguments_no_name/original