Skip to content

Commit

Permalink
Fixed test failure on Python 3.12.3
Browse files Browse the repository at this point in the history
It seems that the recursion limit was upgraded in 3.12.3.
  • Loading branch information
agronholm committed Apr 18, 2024
1 parent 684b79a commit 4639b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_exceptions.py
Expand Up @@ -373,7 +373,7 @@ def test_basics_split_by_predicate__match(self):
class DeepRecursionInSplitAndSubgroup(unittest.TestCase):
def make_deep_eg(self):
e = TypeError(1)
for _ in range(2000):
for _ in range(10000):
e = ExceptionGroup("eg", [e])
return e

Expand Down

0 comments on commit 4639b1e

Please sign in to comment.