From cbb8e36106080a07bcedff674c1ee411b70aef35 Mon Sep 17 00:00:00 2001 From: Wen Heping Date: Tue, 1 Jun 2021 18:11:21 +0800 Subject: textproc/py-chardet: Update to 4.0.0 PR: 255025 Submitted by: takefu@airport.fm --- textproc/py-chardet/files/patch-test.py | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 textproc/py-chardet/files/patch-test.py (limited to 'textproc/py-chardet/files/patch-test.py') diff --git a/textproc/py-chardet/files/patch-test.py b/textproc/py-chardet/files/patch-test.py deleted file mode 100644 index 73c3e092398b..000000000000 --- a/textproc/py-chardet/files/patch-test.py +++ /dev/null @@ -1,16 +0,0 @@ -From 0561ddcedcd12ea1f98b7ddedb93686ed8a5ffa4 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= -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.orig 2019-12-18 03:03:28 UTC -+++ 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 -- cgit v1.2.3