* [gentoo-commits] repo/gentoo:master commit in: dev-python/flask/files/
@ 2020-06-02 4:28 Aaron Bauman
0 siblings, 0 replies; only message in thread
From: Aaron Bauman @ 2020-06-02 4:28 UTC (permalink / raw
To: gentoo-commits
commit: a49235f8280e0381b9508a7b71916f7ba3f5f596
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue May 19 19:18:13 2020 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Tue Jun 2 04:27:58 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a49235f8
dev-python/flask: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
dev-python/flask/files/flask-1.1.1-py38.patch | 38 ---------------------------
1 file changed, 38 deletions(-)
diff --git a/dev-python/flask/files/flask-1.1.1-py38.patch b/dev-python/flask/files/flask-1.1.1-py38.patch
deleted file mode 100644
index a03aa445137..00000000000
--- a/dev-python/flask/files/flask-1.1.1-py38.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-commit c367a86cc5be70da4928b276d0218f98df6e854d
-Author: Fernanda Guimarães <fernandaguimaraes28@gmail.com>
-Date: Mon Oct 28 21:37:25 2019 -0300
-
- Test test_send_from_directory_bad_request no longer fails in Python 3.8.
-
-diff --git a/tests/test_helpers.py b/tests/test_helpers.py
-index 78a56221..21735af1 100644
---- a/tests/test_helpers.py
-+++ b/tests/test_helpers.py
-@@ -11,6 +11,7 @@
- import datetime
- import io
- import os
-+import sys
- import uuid
-
- import pytest
-@@ -780,12 +781,17 @@ class TestSendfile(object):
- assert rv.data.strip() == b"Hello Subdomain"
- rv.close()
-
-- def test_send_from_directory_bad_request(self, app, req_ctx):
-+ def test_send_from_directory_null_character(self, app, req_ctx):
- app.root_path = os.path.join(
- os.path.dirname(__file__), "test_apps", "subdomaintestmodule"
- )
-
-- with pytest.raises(BadRequest):
-+ if sys.version_info >= (3, 8):
-+ exception = NotFound
-+ else:
-+ exception = BadRequest
-+
-+ with pytest.raises(exception):
- flask.send_from_directory("static", "bad\x00")
-
-
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-02 4:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-02 4:28 [gentoo-commits] repo/gentoo:master commit in: dev-python/flask/files/ Aaron Bauman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox