summaryrefslogtreecommitdiff
path: root/dev-python/chardet/files/chardet-3.0.4-pytest-4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/chardet/files/chardet-3.0.4-pytest-4.patch')
-rw-r--r--dev-python/chardet/files/chardet-3.0.4-pytest-4.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/dev-python/chardet/files/chardet-3.0.4-pytest-4.patch b/dev-python/chardet/files/chardet-3.0.4-pytest-4.patch
deleted file mode 100644
index eef88e9e9960..000000000000
--- a/dev-python/chardet/files/chardet-3.0.4-pytest-4.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 0561ddcedcd12ea1f98b7ddedb93686ed8a5ffa4 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
-Date: Tue, 12 Mar 2019 18:44:36 +0100
-Subject: [PATCH] Support pytest 4, don't apply marks directly to parameters
-
-Fixes https://github.com/chardet/chardet/issues/173
----
- test.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/test.py b/test.py
-index 9833307..ad2b753 100644
---- a/test.py
-+++ b/test.py
-@@ -59,7 +59,7 @@ def gen_test_params():
- full_path = join(path, file_name)
- test_case = full_path, encoding
- if full_path in EXPECTED_FAILURES:
-- test_case = pytest.mark.xfail(test_case)
-+ test_case = pytest.param(*test_case, marks=pytest.mark.xfail)
- yield test_case
-
-