old_contents: 
  
  def is_prime(number):
      """Return True if *number* is prime."""
      for element in range(number):
          if number % element == 0:
              return False
  
      return True
  
  def print_next_prime(number):
      """Print the closest prime number larger than *number*."""
      index = number
      while True:
          index += 1
          if is_prime(index):
              print(index)
  
new_contents: 
  def is_prime(number):
      """Return True if *number* is prime."""
      if number <= 1:
          return False
  
      for element in range(2, number):
          if number % element == 0:
              return False
  
      return True
  
  def print_next_prime(number):
      """Print the closest prime number larger than *number*."""
      index = number
      while True:
          index += 1
          if is_prime(index):
              print(index)
  
  def inc(x):
      return x + 1
  
subject: update test code