mirror of https://github.com/python/cpython
gh-102856: Skip test_mismatched_parens in WASI builds (#103633)
This commit is contained in:
parent
1ef61cf71a
commit
5f7d68e48d
|
@ -13,6 +13,7 @@ import re
|
||||||
import types
|
import types
|
||||||
import decimal
|
import decimal
|
||||||
import unittest
|
import unittest
|
||||||
|
from test import support
|
||||||
from test.support.os_helper import temp_cwd
|
from test.support.os_helper import temp_cwd
|
||||||
from test.support.script_helper import assert_python_failure
|
from test.support.script_helper import assert_python_failure
|
||||||
|
|
||||||
|
@ -536,6 +537,7 @@ x = (
|
||||||
r"""f'{("x}'""",
|
r"""f'{("x}'""",
|
||||||
])
|
])
|
||||||
|
|
||||||
|
@unittest.skipIf(support.is_wasi, "exhausts limited stack on WASI")
|
||||||
def test_mismatched_parens(self):
|
def test_mismatched_parens(self):
|
||||||
self.assertAllRaise(SyntaxError, r"closing parenthesis '\}' "
|
self.assertAllRaise(SyntaxError, r"closing parenthesis '\}' "
|
||||||
r"does not match opening parenthesis '\('",
|
r"does not match opening parenthesis '\('",
|
||||||
|
|
Loading…
Reference in New Issue