From dac07ca0b5bc8a22482e2e85aa61c1fb96bb0a42 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Wed, 19 Apr 2023 11:16:01 -0600 Subject: [PATCH] gh-102856: Skip test_mismatched_parens in WASI builds --- Lib/test/test_fstring.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_fstring.py b/Lib/test/test_fstring.py index f571233da07b78..0e71de85f16b9c 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 '\('",