def close(self):
    'Close a port on dummy_serial.'
    if VERBOSE:
        _print_out('\nDummy_serial: Closing port\n')
    if (not self._isOpen):
        raise IOError('Dummy_serial: The port is already closed')
    self._isOpen = False
    self.port = None
Close a port on dummy_serial.
def close(self):
    
    if VERBOSE:
        _print_out('\nDummy_serial: Closing port\n')
    if (not self._isOpen):
        raise IOError('Dummy_serial: The port is already closed')
    self._isOpen = False
    self.port = None