mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
[3.12] gh-111811: Fix test_recursive_repr for WASI (GH-112130) (#112131)
gh-111811: Fix test_recursive_repr for WASI (GH-112130)
(cherry picked from commit 7218bac8c8
)
Co-authored-by: Kushal Das <mail@kushaldas.in>
This commit is contained in:
parent
458a3c02e5
commit
3f2cdbe666
1 changed files with 1 additions and 0 deletions
|
@ -2535,6 +2535,7 @@ class BadElementTest(ElementTestCase, unittest.TestCase):
|
|||
e.extend([ET.Element('bar')])
|
||||
self.assertRaises(ValueError, e.remove, X('baz'))
|
||||
|
||||
@support.infinite_recursion(25)
|
||||
def test_recursive_repr(self):
|
||||
# Issue #25455
|
||||
e = ET.Element('foo')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue