python-dask/0002-test_derived_from-don-t-expect-extra-docstring-to-be.patch
Adam Williamson b13fe9022b Update to 2024.6.0, drop merged/unneeded patches, Python 3.13 fixes
This updates to the latest upstream release, drops several patches
that have been merged or that are no longer necessary since we
have newer versions of various deps in Fedora 40 and Rawhide, and
backports https://github.com/dask/dask/pull/11185 to fix a couple
of issues with Python 3.13.
2024-06-17 16:17:52 -07:00

32 lines
967 B
Diff

From 10f732134ed02eed55e89048df03d74e5c0becc8 Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam@redhat.com>
Date: Mon, 17 Jun 2024 15:24:52 -0700
Subject: [PATCH 2/2] test_derived_from: don't expect extra docstring to be
indented
In Python 3.13, it is not any more:
https://docs.python.org/3.13/whatsnew/3.13.html#other-language-changes
"Compiler now strip indents from docstrings."
Signed-off-by: Adam Williamson <awilliam@redhat.com>
---
dask/tests/test_utils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dask/tests/test_utils.py b/dask/tests/test_utils.py
index 328705f7f..8aba2b3f3 100644
--- a/dask/tests/test_utils.py
+++ b/dask/tests/test_utils.py
@@ -600,7 +600,7 @@ def test_derived_from():
assert "not supported" in b_arg.lower()
assert "dask" in b_arg.lower()
- assert " extra docstring\n\n" in Zap.f.__doc__
+ assert "extra docstring\n\n" in Zap.f.__doc__
@pytest.mark.parametrize(
--
2.45.2