gh-111806: Fix `test_recursion` in `test_richcmp` on WASI builds (GH-111830)

This commit is contained in:
Nikita Sobolev 2023-11-08 00:37:29 +03:00 committed by GitHub
parent 0e83d941be
commit f115a55f0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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