

def test__empty_logical_operators(self):
    for operator in mongomock.filtering.LOGICAL_OPERATOR_MAP:
        try:
            self.cmp.compare_ignore_order.find({
                operator: [],
            })
        except Exception as e:
            assert isinstance(operator, mongomock.OperationFailure)

dataset/ETHPy150Open vmalloc/mongomock/tests/test__mongomock.py MongoClientCollectionTest.test__empty_logical_operators/VarMisuse@55/71 `e`->`operator`