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

    with pytest.raises(TypeError) as excinfo:
        concat(a, b, axis=0)

    assert "not equal along axis 1: 5 != 6" in str(excinfo.value)

    b = symbol('b', '4 * 6 * int32')
    with pytest.raises(TypeError) as excinfo:
        concat(a, b, axis=1)

    assert str(excinfo.value) in "not equal along axis 0: 3 != 4"
dataset/ETHPy150Open blaze/blaze/blaze/expr/tests/test_collections.py/test_concat_different_along_concat_axis/swapped operands of `in`