def failUnlessRaises(self, excClass, callableObj, *args, **kwargs):
        try:
            callableObj(*args, **kwargs)
        except excClass:
            return
        else:
            if hasattr(excClass,'__name__'): excName = excClass.__name__
            else: excName = str(excClass)
            #raise self.failureException, "%s not raised" % excName
            self.fail(excName % "%s not raised")
dataset/ETHPy150Open anandology/pyjamas/examples/uitest/UnitTest.py/UnitTest.failUnlessRaises/swapped operands of `%`