it is about unittest. I have a BaseClass, which ha...
# general
b
it is about unittest. I have a BaseClass, which has a setUp() method and a few test_… function. and I have a DerivedClass(unittest.TestCase, BaseClass). When I run the tests, it seems setUp() in BaseClass is skipped (I have set a pdb breakpoint in setUp and it didn’t break) and execution goes directly to test_…. Does anyone know why this happens?