dev-python/paramiko: remove unused patch

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2020-03-30 18:18:48 +02:00
committed by Aaron Bauman
parent f4c2bf3a0b
commit 598e2f94ab

View File

@@ -1,34 +0,0 @@
Skip tests requiring pytest-relaxed since it was removed from the tree due to
breaking pytest.
--- paramiko-2.6.0/tests/test_client.py
+++ paramiko-2.6.0/tests/test_client.py
@@ -33,7 +33,7 @@
import weakref
from tempfile import mkstemp
-from pytest_relaxed import raises
+#from pytest_relaxed import raises
from mock import patch, Mock
import paramiko
@@ -684,7 +684,8 @@
# TODO: more granular exception pending #387; should be signaling "no auth
# methods available" because no key and no password
- @raises(SSHException)
+ #@raises(SSHException)
+ @unittest.skip("skip tests requiring pytest-relaxed")
def test_passphrase_kwarg_not_used_for_password_auth(self):
# Using the "right" password in the "wrong" field shouldn't work.
self._test_connection(passphrase="pygmalion")
@@ -705,7 +706,8 @@
password="television",
)
- @raises(AuthenticationException) # TODO: more granular
+ #@raises(AuthenticationException) # TODO: more granular
+ @unittest.skip("skip tests requiring pytest-relaxed")
def test_password_kwarg_not_used_for_passphrase_when_passphrase_kwarg_given( # noqa
self
):