在学习testng这个单元测试框架时,如果咱们碰到了编辑测试套件xml,不提示的情况(有提示方便咱们学习,并且testng的测试套件定义必须按照他的dtd文件约束来),咱们可以按照下面的步骤去解决这个问题. 1.检查testng.xml中是否有引入dtd文件,没有的话,则加上:<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">,如下图: 2.加上以上dtd后,在suite元素底下编辑,输入:”<”,若提
解决pycharm问题:module 'pip' has no attribute 'main' 转自: <解决pycharm问题:module 'pip' has no attribute 'main'> http://www.cnblogs.com/Fordestiny/p/8901100.html 更新pip之后,Pycharm安装package出现报错:module 'pip' has no attribute 'main' 找到安装目录下 helpers/packaging_tool