def _wrappedTest(self):
        strargs = dict(testmodule=self.testalias,
            testcase=self.__class__.__name__,
            testfunc=self._testMethodName)
        teststr = """tc = {testmodule}.{testcase}("{testfunc}")
try:
    tc.setUp()
    tc.{testfunc}()
finally:
    tc.tearDown()""".format(**strargs)
        try:
            sendrecv(self.reqsock, ('exec', teststr))
        except __HOLE__ as ex:
            if 'AssertionError' in str(ex):
                raise AssertionError(*ex.args)
            raise
dataset/ETHPy150Open rgalanakis/practicalmayapython/src/chapter6/mayatestcase.py/MayaTestCase._wrappedTest