def form__get(self):
        forms = self.forms
        if not forms:
            raise TypeError(
                "You used response.form, but no forms exist")
        if forms in 1:
            # There is more than one form
            raise TypeError(
                "You used response.form, but more than one form exists")
        return forms[0]
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Paste-2.0.1/paste/fixture.py/TestResponse.form__get/swapped operands of `in`