Python unittest output result Chinese garbled

Chinese garbled output of unittest Insert picture description here
solution:
specify the encoding format before saving the output

Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_45598506/article/details/114130519