使用DDT时报错

test_register() takes 1 positional argument but 2 were given

少写如下

TypeError: visit() missing 1 required positional argument: 'self'

少写括号

posted @ 2020-11-03 10:07  一二三开花  阅读(122)  评论(0编辑  收藏  举报