def assertEqual(self, arg1, arg2, msg=None):
        """Asserts that the arguments are equal,

        Raises TestFailError if arguments are not equal. An optional message
        may be included that overrides the default message.
        """
        if arg1 != arg2:
            raise TestFailError, msg or "%s != %s" % (arg1, arg2)
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/QA/core.py/Test.assertEqual/original