From: "David Roman" <davidroman96@gmail.com> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/flask-restx/files/ Date: Fri, 13 Oct 2023 10:31:08 +0000 (UTC) [thread overview] Message-ID: <1697188678.d265358450939714202798d3f31871aee9796f10.davidroman@gentoo> (raw) 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):
WARNING: multiple messages have this Message-ID (diff)
From: "David Roman" <davidroman96@gmail.com> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/flask-restx/files/ Date: Fri, 13 Oct 2023 09:20:59 +0000 (UTC) [thread overview] Message-ID: <1697188678.d265358450939714202798d3f31871aee9796f10.davidroman@gentoo> (raw) Message-ID: <20231013092059.Ug3UkPOQ-9CodvmKvgTaahSDU3__tqFJ3zMlPBy96nM@z> (raw) 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):
next reply other threads:[~2023-10-13 10:31 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-10-13 10:31 David Roman [this message] 2023-10-13 9:20 ` [gentoo-commits] repo/proj/guru:dev commit in: dev-python/flask-restx/files/ David Roman
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1697188678.d265358450939714202798d3f31871aee9796f10.davidroman@gentoo \ --to=davidroman96@gmail.com \ --cc=gentoo-commits@lists.gentoo.org \ --cc=gentoo-dev@lists.gentoo.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox