summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2020-03-30 18:16:10 +0200
committerAaron Bauman <bman@gentoo.org>2020-05-14 18:19:25 -0400
commit076be65393381ba4a71b58f4b4e959fcd4e218f9 (patch)
tree044c3bfe837399b5a6b67fd7a346e25e1dc6a9ab
parentdev-python/dill: remove unused patch(es) (diff)
downloadgentoo-076be65393381ba4a71b58f4b4e959fcd4e218f9.tar.gz
gentoo-076be65393381ba4a71b58f4b4e959fcd4e218f9.tar.bz2
gentoo-076be65393381ba4a71b58f4b4e959fcd4e218f9.zip
dev-python/flask-login: remove unused patch(es)
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>
-rw-r--r--dev-python/flask-login/files/flask-login-0.3.2-fix-tests-python2.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/dev-python/flask-login/files/flask-login-0.3.2-fix-tests-python2.patch b/dev-python/flask-login/files/flask-login-0.3.2-fix-tests-python2.patch
deleted file mode 100644
index 33811abdc7ac..000000000000
--- a/dev-python/flask-login/files/flask-login-0.3.2-fix-tests-python2.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff --git a/test_login.py b/test_login.py
-index 3f110e0..0c060f5 100644
---- a/test_login.py
-+++ b/test_login.py
-@@ -39,6 +39,7 @@ from flask.ext.login import (LoginManager, UserMixin, AnonymousUserMixin,
- if str is not bytes:
- unicode = str
-
-+werkzeug_version = tuple(int(i) for i in werkzeug_version.split('.'))
-
- @contextmanager
- def listen_to(signal):
-@@ -1073,14 +1074,14 @@ class LoginTestCase(unittest.TestCase):
- #
- # Misc
- #
-- @unittest.skipIf(werkzeug_version.startswith("0.9"),
-+ @unittest.skipIf(werkzeug_version >= (0, 9),
- "wait for upstream implementing RFC 5987")
- def test_chinese_user_agent(self):
- with self.app.test_client() as c:
- result = c.get('/', headers=[('User-Agent', u'中文')])
- self.assertEqual(u'Welcome!', result.data.decode('utf-8'))
-
-- @unittest.skipIf(werkzeug_version.startswith("0.9"),
-+ @unittest.skipIf(werkzeug_version >= (0, 9),
- "wait for upstream implementing RFC 5987")
- def test_russian_cp1251_user_agent(self):
- with self.app.test_client() as c: