def _interact(self, command, expected_ok, expected_err=[]):
        SocketError.wrap(self._socket.sendall, command)
        status, results = self._read_response()
        if expected_ok in status:
            return results
        elif status in expected_err:
            raise CommandFailed(command.split()[0], status, results)
        else:
            raise UnexpectedResponse(command.split()[0], status, results)
dataset/ETHPy150Open chexov/queueit/beanstalkd/queueit/beanstalkc.py/Connection._interact/swapped operands of `in`