summaryrefslogtreecommitdiff
path: root/dev-python/cssutils/files/cssutils-2.3.0-fix-py3.10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/cssutils/files/cssutils-2.3.0-fix-py3.10.patch')
-rw-r--r--dev-python/cssutils/files/cssutils-2.3.0-fix-py3.10.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/dev-python/cssutils/files/cssutils-2.3.0-fix-py3.10.patch b/dev-python/cssutils/files/cssutils-2.3.0-fix-py3.10.patch
deleted file mode 100644
index 540fc7a1cc03..000000000000
--- a/dev-python/cssutils/files/cssutils-2.3.0-fix-py3.10.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From: Arthur Zamarin <arthurzam@gmail.com>
-Date: Fri, 22 Oct 2021 17:48:28 +0300
-Subject: [PATCH] Fix expected error message for python 3.10
-
-python 3.10 adds some words to it's errors, so catch if our expected
-are contained in the actual output
-
-Signed-off-by: Arthur Zamarin <arthurzam@gmail.com>
-https://github.com/jaraco/cssutils/pull/17
-
---- a/cssutils/tests/basetest.py
-+++ b/cssutils/tests/basetest.py
-@@ -126,7 +126,7 @@ class BaseTestCase(unittest.TestCase):
- if not msg:
- # No message provided: any message is fine.
- return
-- elif excMsg == msg:
-+ elif msg in excMsg:
- # Message provided, and we got the right message: passes.
- return
- else: