制作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/