def test_argument_checking(self):
        self.assertRaises(TypeError, self.thetype)     # need at least a func arg
        try:
            self.thetype(2)()
        except __HOLE__:
            pass
        else:
            self.fail('First arg not checked for callability')
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_functools.py/TestPartial.test_argument_checking