summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_fstring.py
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2023-04-19 17:53:34 (GMT)
committerGitHub <noreply@github.com>2023-04-19 17:53:34 (GMT)
commit5f7d68e48de19c5c3a241d7126fc2af227c2f74a (patch)
treec5f95c0a5a4b15392ad98a42bf7fcb9a421b5634 /Lib/test/test_fstring.py
parent1ef61cf71a218c71860ff6aecf0fd51edb8b65dc (diff)
downloadcpython-5f7d68e48de19c5c3a241d7126fc2af227c2f74a.zip
cpython-5f7d68e48de19c5c3a241d7126fc2af227c2f74a.tar.gz
cpython-5f7d68e48de19c5c3a241d7126fc2af227c2f74a.tar.bz2
gh-102856: Skip test_mismatched_parens in WASI builds (#103633)
Diffstat (limited to 'Lib/test/test_fstring.py')
-rw-r--r--Lib/test/test_fstring.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_fstring.py b/Lib/test/test_fstring.py
index f571233..0e71de8 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 '\('",