python3错误AttributeError: 'TestSequenceFunctions' object has no attribute 'seq'

 对比了两段代码发现,原来是setUp要用用大写才能被正确引用。

修改后,代码运行成功。

猜你喜欢

转载自www.cnblogs.com/tianzi01/p/12451787.html
今日推荐