forked from pool/python-exceptiongroup
24 lines
794 B
Diff
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
|
||
|
|
|