

def assertCalcFalse(self, calc, context=None):
    '\n        Test a calculation is False, also checking the inverse "negate" case.\n        '
    context = (context or {
        
    })
    self.assertFalse(calc.resolve(context))
    calc.negate = (not context.negate)
    self.assert_(calc.resolve(context))

dataset/ETHPy150Open aehlke/manabi/apps/utils/templatetags/smartif.py SmartIfTests.assertCalcFalse/VarMisuse@47/83 `calc`->`context`