class BaseTest(unittest.TestCase):

    def __init__(self, *args, **kwargs):
        unittest.TestCase.__init__(self, *args, **kwargs)

def setUp(self):
    print('Base.setUp()')

def tearDown(self):
    print('Base.tearDown()')


class TestSomething(BaseTest):
    pass
Deriving a class from TestCase throws two errors