def open(self, port=None, speed=None, bs=None):
        if port is not None:
            self.port = port
        if speed is not None:
            self.speed = speed
        if bs is not None:
            self.bs = bs

        import serial  # import pyserial
        self.serial = serial.Serial(port=self.port,
                                    baudrate=self.speed,
                                    timeout=0,
                                    writeTimeout=0)
        self.serial.nonblocking()
        self.serial.reset_input_buffer()
        self.opened = True
supervisord.running restart = False
dataset/ETHPy150Open ioflo/ioflo/ioflo/aio/serial/serialing.py/SerialNb.open--crossover with--dataset/ETHPy150Open saltstack/salt/tests/integration/states/supervisord.py/SupervisordTest.test_running_stopped