mirror of
https://github.com/python/cpython.git
synced 2025-08-18 07:41:05 +00:00
[3.12] gh-111806: Fix test_recursion
in test_richcmp
on WASI builds (GH-111830) (GH-111831)
gh-111806: Fix `test_recursion` in `test_richcmp` on WASI builds (GH-111830)
(cherry picked from commit f115a55f0e
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
This commit is contained in:
parent
f70ae99cb4
commit
d35c94566a
1 changed files with 1 additions and 0 deletions
|
@ -221,6 +221,7 @@ class MiscTest(unittest.TestCase):
|
||||||
self.assertRaises(Exc, func, Bad())
|
self.assertRaises(Exc, func, Bad())
|
||||||
|
|
||||||
@support.no_tracing
|
@support.no_tracing
|
||||||
|
@support.infinite_recursion(25)
|
||||||
def test_recursion(self):
|
def test_recursion(self):
|
||||||
# Check that comparison for recursive objects fails gracefully
|
# Check that comparison for recursive objects fails gracefully
|
||||||
from collections import UserList
|
from collections import UserList
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue