From: Pablo Galindo Salgado Date: Wed, 19 Apr 2023 17:53:34 +0000 (-0600) Subject: gh-102856: Skip test_mismatched_parens in WASI builds (#103633) X-Git-Tag: v3.12.0b1~502 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f7d68e48de19c5c3a241d7126fc2af227c2f74a;p=thirdparty%2FPython%2Fcpython.git gh-102856: Skip test_mismatched_parens in WASI builds (#103633) --- 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 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 '\('",