python - HTTPretty 测试卡在 Travis 上

标签 python python-3.4 travis-ci nose httpretty

制作python-intercom时Python 3 兼容,我在 Travis 上遇到了问题.

在 Python 3.4 上运行时,nosetests 命令似乎不会退出(它在 Python 2.7 上的行为与预期一致)。我将范围缩小到使用 HTTPretty 的测试并创建了一个small project突出显示该问题,并发布 failed build 的结果:

$ nosetests
..
----------------------------------------------------------------------
Ran 2 tests in 0.061s
OK

No output has been received in the last 10 minutes, this potentially
indicates a stalled build or something wrong with the build itself.

The build has been terminated

现在我不知道如何继续。

最佳答案

这似乎是 Python 3.4 中最新版本的 httppretty 的问题。我遇到了同样的问题,然后我将其降级到 0.8.6。这似乎是因为此github issue中描述的一些警告被提出。 .

关于python - HTTPretty 测试卡在 Travis 上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29298455/

相关文章:

java - TravisCI 中的 JDK 在哪里?

python - 将字符串列表转换为逗号分隔的二维 NumPy

python - 正则表达式返回 true 且日文字符不正确

python - mysqldb cursor.close() throws ProgrammingError : (2014, "commands out of sync...") 执行从文件读取的sql时

python - 解决 channel /异步测试用例上的 django 测试 RuntimeError

python - 嵌套字典中的多个键

firefox - 如何返回X元素[Selenium]?

travis-ci - Travis 的测试构建矩阵扩展

python-3.x - 从父目录导入模块

docker - 如何理解LXD和VM、Docker的区别?