def test_2_is_prime():
    assert is_prime(2)
def test_is_prime(number, expected_result):
    assert is_prime(number) == expected_result
def test_is_prime_illegal_input():
    with pytest.raises(TypeError):
        is_prime('7')
def test_is_prime(number):
    assert is_prime(number)
def test_is_not_prime(number):
    assert not is_prime(number)
def test_100_is_not_prime():
    assert not is_prime(100)
def test_4_is_not_prime():
    assert not is_prime(4)
def test_1_is_not_prime():
    assert not is_prime(1)
def test_43_is_prime():
    assert is_prime(43)
def test_3_is_prime():
    assert is_prime(3)