old_contents: 
  class GPIO(object):
  
      BCM = "BCM"
      OUT = "OUT"
      ANNOUNCEMENT = '''
      ############################################################
      #                                                          #
      #              WARNING: RPi.GPIO unavailable.              #
      #         bawt.mock.RPi.GPIO will be used instead          #
      #                                                          #
      ############################################################
      '''
  
      def __init__(self):
          pass
  
      @staticmethod
      def setwarnings(warnings=False):
          GPIO.warnings = warnings
  
      @staticmethod
      def setmode(mode):
          GPIO.mode = mode
  
      @staticmethod
      def setup(pin, mode):
          return True
  
      @staticmethod
      def output(pin, output=False):
          return True
  
      @staticmethod
      def input(pin, input=False):
          return True
  
new_contents: 
  class GPIO(object):
  
      BCM = 1
      OUT = 1
      IN = 1
      ANNOUNCEMENT = '''
      ############################################################
      #                                                          #
      #              WARNING: RPi.GPIO unavailable.              #
      #         bawt.mock.RPi.GPIO will be used instead          #
      #                                                          #
      ############################################################
      '''
  
      def __init__(self):
          pass
  
      @staticmethod
      def setwarnings(warnings=False):
          GPIO.warnings = warnings
  
      @staticmethod
      def setmode(mode):
          GPIO.mode = mode
  
      @staticmethod
      def setup(pin, mode):
          return True
  
      @staticmethod
      def output(pin, output=False):
          return True
  
      @staticmethod
      def input(pin, input=False):
          return True
  
subject: Set fields correctly