https://pantsbuild.org/ logo
#general
Title
# general
b

billowy-beach-68498

04/20/2016, 9:40 PM
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?