summaryrefslogtreecommitdiff
path: root/dev-python/graphviz/files/graphviz-0.21_fix_python3_14_tests.patch
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/graphviz/files/graphviz-0.21_fix_python3_14_tests.patch
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-python/graphviz/files/graphviz-0.21_fix_python3_14_tests.patch')
-rw-r--r--dev-python/graphviz/files/graphviz-0.21_fix_python3_14_tests.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-python/graphviz/files/graphviz-0.21_fix_python3_14_tests.patch b/dev-python/graphviz/files/graphviz-0.21_fix_python3_14_tests.patch
new file mode 100644
index 000000000000..1073c6362c42
--- /dev/null
+++ b/dev-python/graphviz/files/graphviz-0.21_fix_python3_14_tests.patch
@@ -0,0 +1,23 @@
+From 7e0fae6d28792a628a25cadd4ec1582c7351a7a3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Mark=C3=A9ta=20Cal=C3=A1bkov=C3=A1?=
+ <meggy.calabkova@gmail.com>
+Date: Tue, 9 Sep 2025 16:26:28 +0200
+Subject: [PATCH] fix tests on Python 3.14
+
+---
+ tests/test_quoting.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/test_quoting.py b/tests/test_quoting.py
+index 3692d38a12..9dbe45ca50 100644
+--- a/tests/test_quoting.py
++++ b/tests/test_quoting.py
+@@ -17,7 +17,7 @@ def test_deprecated_escape(recwarn, char):
+ assert len(recwarn) == 1
+ w = recwarn.pop(DeprecationWarning if sys.version_info < (3, 12)
+ else SyntaxWarning)
+- assert str(w.message).startswith('invalid escape sequence')
++ assert 'invalid escape sequence' in str(w.message)
+
+ assert escape == f'\\{char}'
+ assert quoting.quote(escape) == f'"\\{char}"'