summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2023-11-07 21:37:29 (GMT)
committerGitHub <noreply@github.com>2023-11-07 21:37:29 (GMT)
commitf115a55f0e455a4b43a1da9fd838a60a101f182a (patch)
tree8dde7e872748a574415e7e945027f75e48d66ee6
parent0e83d941bea921380ce4a1494121f3ec30ae652e (diff)
downloadcpython-f115a55f0e455a4b43a1da9fd838a60a101f182a.zip
cpython-f115a55f0e455a4b43a1da9fd838a60a101f182a.tar.gz
cpython-f115a55f0e455a4b43a1da9fd838a60a101f182a.tar.bz2
gh-111806: Fix `test_recursion` in `test_richcmp` on WASI builds (GH-111830)
-rw-r--r--Lib/test/test_richcmp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_richcmp.py b/Lib/test/test_richcmp.py
index 58729a9..5f449cd 100644
--- a/Lib/test/test_richcmp.py
+++ b/Lib/test/test_richcmp.py
@@ -221,6 +221,7 @@ class MiscTest(unittest.TestCase):
self.assertRaises(Exc, func, Bad())
@support.no_tracing
+ @support.infinite_recursion(25)
def test_recursion(self):
# Check that comparison for recursive objects fails gracefully
from collections import UserList