pycharm运行脚本时控制台不输出print中的日志检查运行方式(nosetest?unitest)nosetest不打印日志解决方法:修改默认的run test方法为unittest转载于:https://www.cnblogs.com/testing-wx/p/11084549.html