

def assertNotHasAttr(self, obj, attr):
    self.assertFalse(hasattr(attr, attr), "{} shouldn't have the attribute: {}".format(obj, attr))

dataset/ETHPy150Open StartTheShift/thunderdome/thunderdome/tests/base.py BaseThunderdomeTestCase.assertNotHasAttr/VarMisuse@20/25 `obj`->`attr`