17
0
Files
python-exceptiongroup/py314.patch
Daniel Garcia 61e6bedf53 - Update to 1.3.1
* Fixed AttributeError: 'TracebackException' object has no attribute
    'exceptions' when formatting unpickled TBEs from another Python
    process which did not apply the exceptiongroup patches (#144)
- Drop upstreamed patch py314.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exceptiongroup?expand=0&rev=27
2026-02-18 07:40:07 +00:00

24 lines
794 B
Diff

From a0da94dadfb39c0b52c0cd5c87ace166b00f74c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= <alex.gronholm@nextday.fi>
Date: Sat, 31 May 2025 12:36:46 +0300
Subject: [PATCH] Fixed test failures on Python 3.14
Fixes #148.
---
tests/test_exceptions.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_exceptions.py b/tests/test_exceptions.py
index 2edcfcd..e2bc81a 100644
--- a/tests/test_exceptions.py
+++ b/tests/test_exceptions.py
@@ -374,7 +374,7 @@ def test_basics_split_by_predicate__match(self):
class DeepRecursionInSplitAndSubgroup(unittest.TestCase):
def make_deep_eg(self):
e = TypeError(1)
- for _ in range(10000):
+ for _ in range(150_000):
e = ExceptionGroup("eg", [e])
return e