Python, can't assert if method called from another class

后端 未结 0 2003
既然无缘
既然无缘 2021-01-20 14:19

I have the following code in Python:

class A():
    def doSomething(self, bClass):
        print(bClass.theThing)

class B():
    def __init__(self, theThing)         


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