def test_search():
    assert 2 in sieve
    assert 2.1 not in sieve
    assert 1 not in sieve
    assert 2**1000 not in sieve
    raises(ValueError, lambda: sieve.search(1))
dataset/ETHPy150Open sympy/sympy/sympy/ntheory/tests/test_generate.py/test_search/original