aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Roman <davidroman96@gmail.com>2023-10-13 11:17:58 +0200
committerDavid Roman <davidroman96@gmail.com>2023-10-13 11:17:58 +0200
commitd265358450939714202798d3f31871aee9796f10 (patch)
tree4f58b6a50cdaa88a36b2f716dae410015db92d41
parentgames-rpg/airshipper: treeclean (diff)
downloadguru-d265358450939714202798d3f31871aee9796f10.tar.gz
guru-d265358450939714202798d3f31871aee9796f10.tar.bz2
guru-d265358450939714202798d3f31871aee9796f10.zip
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@gmail.com>
-rw-r--r--dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch5
1 files changed, 1 insertions, 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 a91a0f3e7..759bb5f63 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):