[Python-checkins] gh-102856: Skip test_mismatched_parens in WASI builds (#103633)

pablogsal webhook-mailer at python.org
Wed Apr 19 13:53:41 EDT 2023


https://github.com/python/cpython/commit/5f7d68e48de19c5c3a241d7126fc2af227c2f74a
commit: 5f7d68e48de19c5c3a241d7126fc2af227c2f74a
branch: main
author: Pablo Galindo Salgado <Pablogsal at gmail.com>
committer: pablogsal <Pablogsal at gmail.com>
date: 2023-04-19T11:53:34-06:00
summary:

gh-102856: Skip test_mismatched_parens in WASI builds (#103633)

files:
M Lib/test/test_fstring.py

diff --git a/Lib/test/test_fstring.py b/Lib/test/test_fstring.py
index f571233da07b..0e71de85f16b 100644
--- a/Lib/test/test_fstring.py
+++ b/Lib/test/test_fstring.py
@@ -13,6 +13,7 @@
 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 @@ def test_unterminated_string(self):
                              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 '\('",



More information about the Python-checkins mailing list