Skip to content

Commit 942ef7b

Browse files
[3.11] gh-111806: Fix test_recursion in test_richcmp on WASI builds (GH-111830) (GH-111832)
gh-111806: Fix `test_recursion` in `test_richcmp` on WASI builds (GH-111830) (cherry picked from commit f115a55) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
1 parent 4edf255 commit 942ef7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_richcmp.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ def do(bad):
221221
self.assertRaises(Exc, func, Bad())
222222

223223
@support.no_tracing
224+
@support.infinite_recursion(25)
224225
def test_recursion(self):
225226
# Check that comparison for recursive objects fails gracefully
226227
from collections import UserList

0 commit comments

Comments
 (0)