def __init__(self, device, **kwargs):
        super(HwmonInstrument, self).__init__(device, **kwargs)

        if self.sensors:
            self.sensor_kinds = {}
            for kind in self.sensors:
                if HWMON_SENSORS in kind:
                    self.sensor_kinds[kind] = HWMON_SENSORS[kind]
                else:
                    message = 'Unexpected sensor type: {}; must be in {}'.format(kind, HWMON_SENSORS.keys())
                    raise ConfigError(message)
        else:
            self.sensor_kinds = HWMON_SENSORS

        self.sensors = []
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/instrumentation/hwmon/__init__.py/HwmonInstrument.__init__/swapped operands of `in`