]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-102856: Skip test_mismatched_parens in WASI builds (#103633)
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Wed, 19 Apr 2023 17:53:34 +0000 (11:53 -0600)
committerGitHub <noreply@github.com>
Wed, 19 Apr 2023 17:53:34 +0000 (11:53 -0600)
Lib/test/test_fstring.py

index f571233da07b78d41525a899f55a693d6e5d6560..0e71de85f16b9c0be65b3fe4f4eb88e0919e7d8c 100644 (file)
@@ -13,6 +13,7 @@ import re
 import types
 import decimal
 import unittest
+from test import support
 from test.support.os_helper import temp_cwd
 from test.support.script_helper import assert_python_failure
 
@@ -536,6 +537,7 @@ x = (
                              r"""f'{("x}'""",
                              ])
 
+    @unittest.skipIf(support.is_wasi, "exhausts limited stack on WASI")
     def test_mismatched_parens(self):
         self.assertAllRaise(SyntaxError, r"closing parenthesis '\}' "
                             r"does not match opening parenthesis '\('",