summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2020-09-19 18:15:17 +0200
committerConrad Kostecki <conikost@gentoo.org>2020-09-20 16:38:25 +0200
commit46f74406c0c2fe8d0ee980b6d8540cdc049c7dc4 (patch)
treecebe18e62517cbf27b66a163251e0cebe68ddca4 /dev-python/cheroot
parentdev-python/black: remove unused patch (diff)
downloadgentoo-46f74406c0c2fe8d0ee980b6d8540cdc049c7dc4.tar.gz
gentoo-46f74406c0c2fe8d0ee980b6d8540cdc049c7dc4.tar.bz2
gentoo-46f74406c0c2fe8d0ee980b6d8540cdc049c7dc4.zip
dev-python/cheroot: remove unused patch(es)
Closes: https://github.com/gentoo/gentoo/pull/17602 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-python/cheroot')
-rw-r--r--dev-python/cheroot/files/cheroot-8.3.0-test-unixsocket.patch57
1 files changed, 0 insertions, 57 deletions
diff --git a/dev-python/cheroot/files/cheroot-8.3.0-test-unixsocket.patch b/dev-python/cheroot/files/cheroot-8.3.0-test-unixsocket.patch
deleted file mode 100644
index 311489565301..000000000000
--- a/dev-python/cheroot/files/cheroot-8.3.0-test-unixsocket.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From 6ead1efb37edfade4dda60e48d1af8fe89be3cdc Mon Sep 17 00:00:00 2001
-From: "Jason R. Coombs" <jaraco@jaraco.com>
-Date: Sun, 12 Apr 2020 16:28:00 -0400
-Subject: [PATCH] Remove client from peercreds tests. Fixes #276.
-
----
- cheroot/test/test_server.py | 13 ++++++-------
- 1 file changed, 6 insertions(+), 7 deletions(-)
-
-diff --git a/cheroot/test/test_server.py b/cheroot/test/test_server.py
-index 80728d66..6c4b53ee 100644
---- a/cheroot/test/test_server.py
-+++ b/cheroot/test/test_server.py
-@@ -23,7 +23,6 @@
- ANY_INTERFACE_IPV4,
- ANY_INTERFACE_IPV6,
- EPHEMERAL_PORT,
-- get_server_client,
- )
-
-
-@@ -171,19 +170,19 @@ def send_payload(self, payload):
-
-
- @pytest.fixture
--def peercreds_enabled_server_and_client(http_server, unix_sock_file):
-+def peercreds_enabled_server(http_server, unix_sock_file):
- """Construct a test server with ``peercreds_enabled``."""
- httpserver = http_server.send(unix_sock_file)
- httpserver.gateway = _TestGateway
- httpserver.peercreds_enabled = True
-- return httpserver, get_server_client(httpserver)
-+ return httpserver
-
-
- @unix_only_sock_test
- @non_macos_sock_test
--def test_peercreds_unix_sock(peercreds_enabled_server_and_client):
-+def test_peercreds_unix_sock(peercreds_enabled_server):
- """Check that ``PEERCRED`` lookup works when enabled."""
-- httpserver, testclient = peercreds_enabled_server_and_client
-+ httpserver = peercreds_enabled_server
- bind_addr = httpserver.bind_addr
-
- if isinstance(bind_addr, six.binary_type):
-@@ -212,9 +211,9 @@ def test_peercreds_unix_sock(peercreds_enabled_server_and_client):
- )
- @unix_only_sock_test
- @non_macos_sock_test
--def test_peercreds_unix_sock_with_lookup(peercreds_enabled_server_and_client):
-+def test_peercreds_unix_sock_with_lookup(peercreds_enabled_server):
- """Check that ``PEERCRED`` resolution works when enabled."""
-- httpserver, testclient = peercreds_enabled_server_and_client
-+ httpserver = peercreds_enabled_server
- httpserver.peercreds_resolve_enabled = True
-
- bind_addr = httpserver.bind_addr