运行 py.test 显示重复的unicode

Running py.test displays repeated unicode

项目 运行 py.test 处理对 Twilio API 的调用。 运行 py.test 对目录或特定文件的测试 returns 的测试结果,也是一串重复的unicode字符。成功和失败的测试都会发生这种情况。

这可能是因为 py.test 安装不正确,或者可能与插件冲突?

看起来脚本正在尝试使用 ANSI escape sequences to display different colours etc. However, these seem to be getting interpreted as UTF-8

我的建议是检查您的终端设置。