forked from pool/python-pytest-httpbin
- do not require six - added patches fix https://github.com/kevin1024/pytest-httpbin/issues/75 + python-pytest-httpbin-no-six.patch OBS-URL: https://build.opensuse.org/request/show/1041370 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpbin?expand=0&rev=9
14 lines
551 B
Diff
14 lines
551 B
Diff
Index: pytest-httpbin-1.0.2/pytest_httpbin/serve.py
|
|
===================================================================
|
|
--- pytest-httpbin-1.0.2.orig/pytest_httpbin/serve.py
|
|
+++ pytest-httpbin-1.0.2/pytest_httpbin/serve.py
|
|
@@ -3,7 +3,7 @@ import threading
|
|
import ssl
|
|
from wsgiref.simple_server import WSGIServer, make_server, WSGIRequestHandler
|
|
from wsgiref.handlers import SimpleHandler
|
|
-from six.moves.urllib.parse import urljoin
|
|
+from urllib.parse import urljoin
|
|
|
|
|
|
CERT_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'certs')
|