summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-11-07 22:04:18 (GMT)
committerGitHub <noreply@github.com>2023-11-07 22:04:18 (GMT)
commit942ef7bde4ad22f1cc73bfc69fe0540395e75405 (patch)
tree79985e9218a1bfce9c768590d6c4fefd9173fdef /Lib
parent4edf25565f20550024f98bd2a561d3ee15cc3aac (diff)
downloadcpython-942ef7bde4ad22f1cc73bfc69fe0540395e75405.zip
cpython-942ef7bde4ad22f1cc73bfc69fe0540395e75405.tar.gz
cpython-942ef7bde4ad22f1cc73bfc69fe0540395e75405.tar.bz2
[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 f115a55f0e455a4b43a1da9fd838a60a101f182a) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Diffstat (limited to 'Lib')
-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