随笔分类 - Pycharm
摘要:解决方案: def replace_new(s): # 读取出来的数据用context的数据去替换,loan_id 动态替换 p = '\$\{(.*?)}' while re.search(p, s): m = re.search(p, s) key = m.group(1) if hasattr
阅读全文
摘要:解决方案: 将HTMLTestRunner脚本的第631行的 print >> sys.stderr, '\nTime Elapsed: %s' % (self.stopTime-self.startTime) 或print(sys.stderr, '\nTime Elapsed: %s' % (s
阅读全文