summaryrefslogtreecommitdiff
path: root/dev-python/flask-login/files/flask-login-0.5.0-fix-tests-py3.10.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /dev-python/flask-login/files/flask-login-0.5.0-fix-tests-py3.10.patch
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'dev-python/flask-login/files/flask-login-0.5.0-fix-tests-py3.10.patch')
-rw-r--r--dev-python/flask-login/files/flask-login-0.5.0-fix-tests-py3.10.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/dev-python/flask-login/files/flask-login-0.5.0-fix-tests-py3.10.patch b/dev-python/flask-login/files/flask-login-0.5.0-fix-tests-py3.10.patch
deleted file mode 100644
index 858783b36e77..000000000000
--- a/dev-python/flask-login/files/flask-login-0.5.0-fix-tests-py3.10.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From: Karthikeyan Singaravelan <tir.karthi@gmail.com>
-Date: Sun, 10 Jan 2021 21:12:36 +0530
-Subject: [PATCH] Import ABC from collections.abc (#525)
-
---- a/test_login.py
-+++ b/test_login.py
-@@ -12,6 +12,10 @@
- from mock import ANY, patch, Mock
- except ImportError:
- from unittest.mock import ANY, patch, Mock
-+try:
-+ from collections.abc import Hashable
-+except ImportError:
-+ from collections import Hashable
- from semantic_version import Version
-
-
-@@ -1548,7 +1552,7 @@ def test_equality(self):
- self.assertTrue(first != u'1')
-
- def test_hashable(self):
-- self.assertTrue(isinstance(UserMixin(), collections.Hashable))
-+ self.assertTrue(isinstance(UserMixin(), Hashable))
-
-
- class AnonymousUserTestCase(unittest.TestCase):