![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
我德发克?
这个作者很懒,什么都没留下…
展开
-
TypeError: module() takes at most 2 arguments (3 given)
Traceback (most recent call last): File "D:/pywork/kgtext/src/utils/test_suite2.py", line 3, in <module> class testHttp(unittest): TypeError: module() takes at most 2 arguments (3 given) unittest报错解决方法:是因为继承错了。testHttp应该继承unittest.TestCase ...原创 2021-02-20 10:53:40 · 5366 阅读 · 0 评论 -
python项目路径在linux环境中的路径区别
python项目路径在本地运行时,不用写根目录 但是在linux环境运行时,需要加上../,要不然会找不到路径原创 2021-02-19 17:54:37 · 418 阅读 · 0 评论