From 58af4c9621af02cc4e2bb5692d4b377084b0fcc6 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 14 Oct 2020 00:46:30 +0200 Subject: Revert "gnu: python-chardet: Enable tests." This causes too many rebuilds for the master branch. This reverts commit 331aaf52806b27430c4efaf8f230097ede69e61a. --- gnu/packages/patches/python-chardet-3.0.4-pytest.patch | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 gnu/packages/patches/python-chardet-3.0.4-pytest.patch (limited to 'gnu/packages/patches/python-chardet-3.0.4-pytest.patch') diff --git a/gnu/packages/patches/python-chardet-3.0.4-pytest.patch b/gnu/packages/patches/python-chardet-3.0.4-pytest.patch deleted file mode 100644 index d5bf7ccc28..0000000000 --- a/gnu/packages/patches/python-chardet-3.0.4-pytest.patch +++ /dev/null @@ -1,15 +0,0 @@ -Fix test failure with Pytest 4. - -Taken from upstream: -https://github.com/chardet/chardet/commit/440828f8faafdb58700c64a9ea8f6a30b154c08b - -diff --git a/test.py b/test.py ---- a/test.py -+++ b/test.py -@@ -59,5 +59,5 @@ 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 1.4.1