python mocks a function properly, however the call count is not accounted

前端 未结 0 1912
庸人自扰
庸人自扰 2021-02-15 13:03

I have a class like the below:

Class a:
    def fn1(self):
        p1=multiprocessing.Process(self.fn2, (arg1,)
        p1.start()
        p1.join()
    def fn2(s         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题