"""
Module to test for primes.
"""


def is_prime(number):
    "Test if number is prime."

    if number == 1:
        return False

    for factor in range(2, number):
        if number % factor == 0:
            return False
    return True

@@ -84,16 +84,105 @@
 rime.%22%0A%0A
+    if number %3C= 0:%0A        raise TypeError(%22is_prime expects natural number argument%22)%0A%0A
     if n

fix Primes.is_prime to raise TypeError for numbers <= 0