def test_make_sym_vector():
    numpy = pytest.importorskip('numpy')
    from pymbolic.primitives import make_sym_vector
    assert (len(make_sym_vector('vec', 2)) == 2)
    assert (len(make_sym_vector('vec', numpy.int32(2))) == 2)
    assert (len(make_sym_vector('vec', [1, 2, 3])) == 3)
def test_make_sym_vector():
    numpy = pytest.importorskip('numpy')
    from pymbolic.primitives import make_sym_vector
    assert (len(make_sym_vector('vec', 2)) == 2)
    assert (len(make_sym_vector('vec', numpy.int32(2))) == 2)
    assert (len(make_sym_vector('vec', [1, 2, 3])) == 3)