- 博客(1)
- 收藏
- 关注
原创 jupyter notebook 使用测试单元unittest报错AttributeError: 'module' object has no attribute “C:/xxx/xxx.json”
新建一个cell , 创建测试组件 使用: suite = unitest.TestLoader().loadTestsFromTestCase(自定义组件类名) unittest.TextTestRunner().run(suite) 代替: if __name__ =='__main__': unittest.main() ...
2019-11-08 13:45:13
604
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人