简体   繁体   中英

HTTPretty test hanging on Travis

While making python-intercom Python 3 compatible, I ran into an issue on Travis .

The nosetests command doesn't appear to exit when run on Python 3.4 (it behaves as expected on Python 2.7). I narrowed it down to tests that use HTTPretty and created a small project to highlight the issue, and to publish the results of a 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

Right now I don't know how to proceed.

It seems to be an issue with the latest release of httppretty in Python 3.4. I had the same problem and then I downgraded it to 0.8.6 . It seems to be because of some Warning being raised described in this github issue .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM