summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2022-04-04 08:03:28 +0200
committerMichał Górny <mgorny@gentoo.org>2022-04-04 09:26:52 +0200
commit46ca9de1dec5061ef258d9ddde67312b23ced952 (patch)
tree9fdebaf58d3e6e29ce0f31466994bf37b57de279 /dev-python/dask
parentdev-python/ini2toml: keyword 0.10 for riscv, #836568 (diff)
downloadgentoo-46ca9de1dec5061ef258d9ddde67312b23ced952.tar.gz
gentoo-46ca9de1dec5061ef258d9ddde67312b23ced952.tar.bz2
gentoo-46ca9de1dec5061ef258d9ddde67312b23ced952.zip
dev-python/dask: remove unused patch(es)
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/24893 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/dask')
-rw-r--r--dev-python/dask/files/dask-2021.10.0-warning.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/dev-python/dask/files/dask-2021.10.0-warning.patch b/dev-python/dask/files/dask-2021.10.0-warning.patch
deleted file mode 100644
index 87c2ab318aee..000000000000
--- a/dev-python/dask/files/dask-2021.10.0-warning.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From f59293c180f846a220762701006d25655095991f Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Sat, 23 Oct 2021 09:09:29 +0200
-Subject: [PATCH] Fix test_describe_empty to work without global -Werror
-
-Fix test_describe_empty to work when the test suite is run without
-global -Werror. This is e.g. desirable for packagers who don't want
-the test suite for a fixed version to suddenly start failing due to
-DeprecationWarnings in dependencies that otherwise don't break
-the package.
-
-Since the test expects either a ValueError or a RuntimeWarning, it seems
-that the easiest way to assert for that is to inject the "error" filter
-for the scope of the call.
----
- dask/dataframe/tests/test_dataframe.py | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/dask/dataframe/tests/test_dataframe.py b/dask/dataframe/tests/test_dataframe.py
-index 32edb488..e0d88ba8 100644
---- a/dask/dataframe/tests/test_dataframe.py
-+++ b/dask/dataframe/tests/test_dataframe.py
-@@ -570,7 +570,11 @@ def test_describe_empty():
- )
-
- with pytest.raises((ValueError, RuntimeWarning)):
-- ddf_len0.describe(percentiles_method="dask").compute()
-+ with warnings.catch_warnings():
-+ # ensure that the warning is turned into an error since this is
-+ # the easiest way to assert for exception-or-warning
-+ warnings.simplefilter("error")
-+ ddf_len0.describe(percentiles_method="dask").compute()
-
- with pytest.raises(ValueError):
- ddf_nocols.describe(percentiles_method="dask").compute()
---
-2.33.1
-