def __init__(self):
self._port = "<STR_LIT>"<EOL>self._timeout = <NUM_LIT:0><EOL>self._baudrate = <NUM_LIT><EOL>self.serialPort =serial.serial_for_url(url=self._port,<EOL>timeout=self._timeout,<EOL>baudrate=self._baudrate)<EOL>
Creates a mock serial port which is a loopback object