diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-11-16 17:11:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 17:11:33 (GMT) |
commit | 3f2cdbe6668ae40e72a8a8f1530c860a776d0c62 (patch) | |
tree | 8d2fe6f8bdd41d06d6baa135d7021a2e2b16b8d5 | |
parent | 458a3c02e5734216af455172b35fa5ab96c9cfd4 (diff) | |
download | cpython-3f2cdbe6668ae40e72a8a8f1530c860a776d0c62.zip cpython-3f2cdbe6668ae40e72a8a8f1530c860a776d0c62.tar.gz cpython-3f2cdbe6668ae40e72a8a8f1530c860a776d0c62.tar.bz2 |
[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 7218bac8c84115a8e9a18a4a8f3146235068facb)
Co-authored-by: Kushal Das <mail@kushaldas.in>
-rw-r--r-- | Lib/test/test_xml_etree.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_xml_etree.py b/Lib/test/test_xml_etree.py index 3cde6ef..53a4e9f 100644 --- a/Lib/test/test_xml_etree.py +++ b/Lib/test/test_xml_etree.py @@ -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') |