commit:     d265358450939714202798d3f31871aee9796f10
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Fri Oct 13 09:17:58 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Oct 13 09:17:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d2653584

dev-python/flask-restx: remove failing test

I don't understand why the failing test was added
in the first place. Moreover the failing tests comes
from a PR that is not merged upstream.
So for now I simply removed the test from the patch.

Closes: https://bugs.gentoo.org/915571
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch 
b/dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch
index a91a0f3e7f..759bb5f63e 100644
--- a/dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch
+++ b/dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch
@@ -107,7 +107,7 @@ diff --git a/tests/test_utils.py b/tests/test_utils.py
 index d98d68d0..fe3a1adb 100644
 --- a/tests/test_utils.py
 +++ b/tests/test_utils.py
-@@ -98,3 +98,17 @@ def test_value_headers_default_code(self):
+@@ -98,3 +98,14 @@ def test_value_headers_default_code(self):
      def test_too_many_values(self):
          with pytest.raises(ValueError):
              utils.unpack((None, None, None, None))
@@ -118,9 +118,6 @@ index d98d68d0..fe3a1adb 100644
 +        with pytest.raises(AssertionError):
 +            _ = utils.to_view_name(None)
 +
-+    def test_name(self):
-+        assert self.test_none == self.test_none.__name__
-+
 +
 +class ImportCheckViewFuncTest(object):
 +    def test_callable(self):

Reply via email to