diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/pytest-httpbin/files | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/pytest-httpbin/files')
| -rw-r--r-- | dev-python/pytest-httpbin/files/pytest-httpbin-1.0.0-pypy3-hang.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/pytest-httpbin/files/pytest-httpbin-1.0.0-pypy3-hang.patch b/dev-python/pytest-httpbin/files/pytest-httpbin-1.0.0-pypy3-hang.patch new file mode 100644 index 000000000000..02f63bffa72d --- /dev/null +++ b/dev-python/pytest-httpbin/files/pytest-httpbin-1.0.0-pypy3-hang.patch @@ -0,0 +1,31 @@ +diff -dupr a/pytest_httpbin/serve.py b/pytest_httpbin/serve.py +--- a/pytest_httpbin/serve.py 2019-02-11 20:54:14.000000000 +0100 ++++ b/pytest_httpbin/serve.py 2019-11-22 15:50:17.407769297 +0100 +@@ -116,6 +116,7 @@ class Server(object): + + def stop(self): + self._server.shutdown() ++ self._server.socket.close() + + @property + def url(self): +Only in b: pytest_httpbin.egg-info +Only in b/tests: __pycache__ +diff -dupr a/tests/test_httpbin.py b/tests/test_httpbin.py +--- a/tests/test_httpbin.py 2019-02-11 20:54:14.000000000 +0100 ++++ b/tests/test_httpbin.py 2019-11-22 15:59:53.955324547 +0100 +@@ -1,3 +1,4 @@ ++import sys + import unittest + import requests + import pytest_httpbin +@@ -40,6 +41,8 @@ def test_httpbin_join(httpbin): + def test_httpbin_str(httpbin): + assert httpbin + '/foo' == httpbin.url + '/foo' + ++@unittest.skipIf(hasattr(sys, 'pypy_version_info') ++ and sys.hexversion >= 0x03000000, 'hangs on PyPy3') + def test_chunked_encoding(httpbin_both): + assert requests.get(httpbin_both.url + '/stream/20').status_code == 200 + +Only in b: .tox |
