How to fail a python unittest if the setUpClass throws exception

前端 未结 4 2106
我在风中等你
我在风中等你 2021-02-13 21:49

I am having little trouble using the python setUpClass.

For example consider the following case

class MyTest(unittest.case.TestCase):

    @classmethod
          


        
4条回答
提交回复
热议问题