摘要:报错: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal 解决: 这个报错是编码问题导致的 在文件头加上
阅读全文
摘要:一、什么是unittest unittest是Python单元测试框架,类似于JUnit框架。 unittest中有4个重要的概念:test fixture, test case, test suite, test runner Testcase: 一个TestCase的实例就是一个测试用例。什么是
阅读全文
摘要:【前提】: win10下python3和python2共存环境,但是环境变量只配置了python3 【问题】: 用pip安装一个包执行pip2 install xxx的时候报错Fatal error in launcher: Unable to create process using '"' 执行
阅读全文