def test_concat_negative_axis():
    a = symbol('a', '3 * 5 * int32')
    b = symbol('b', '3 * 5 * int32')

    with pytest.raises(ValueError) as excinfo:
        concat(a, b, axis=-1)

    assert "must be in range: [0, 2)" in str(excinfo.value)
dataset/ETHPy150Open blaze/blaze/blaze/expr/tests/test_collections.py/test_concat_negative_axis/original