def test_invalid_keyword(self):
        # extraneous keyword arg
        try:
            getargs_keywords((1,2),3,arg5=10,arg666=666)
        except __HOLE__, err:
            self.assertEqual(str(err), "'arg666' is an invalid keyword argument for this function")
        else:
            self.fail('TypeError should have been raised')
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_getargs2.py/Keywords_TestCase.test_invalid_keyword