old_contents: from enum import Enum
  from pathlib import Path
  
  from robot.board import Board
  
  
  class GameMode(Enum):
      """Possible modes the robot can be in."""
  
      COMPETITION = 'competition'
      DEVELOPMENT = 'development'
  
  
  class GameState(Board):
      """A description of the initial game state the robot is operating under."""
  
      @property
      def zone(self):
          """
          The zone in which the robot starts the match.
  
          This is configured by inserting a competition zone USB stick into the
          robot.
  
          :return: zone ID the robot started in (0-3)
          """
          return self.send_and_receive({})['zone']
  
      @property
      def mode(self):
          """
          :return: The ``GameMode`` that the robot is currently in.
          """
          value = self.send_and_receive({})['mode']
          for enum in GameMode:
              if value == enum.value:
                  return enum
  
new_contents: from enum import Enum
  
  from robot.board import Board
  
  
  class GameMode(Enum):
      """Possible modes the robot can be in."""
  
      COMPETITION = 'competition'
      DEVELOPMENT = 'development'
  
  
  class GameState(Board):
      """A description of the initial game state the robot is operating under."""
  
      @property
      def zone(self):
          """
          The zone in which the robot starts the match.
  
          This is configured by inserting a competition zone USB stick into the
          robot.
  
          :return: zone ID the robot started in (0-3)
          """
          return self.send_and_receive({})['zone']
  
      @property
      def mode(self):
          """
          :return: The ``GameMode`` that the robot is currently in.
          """
          value = self.send_and_receive({})['mode']
          for enum in GameMode:
              if value == enum.value:
                  return enum
  
subject: Remove now-redundant import