mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
bpo-40280: Address more test failures on Emscripten (GH-31050)
Co-authored-by: Brett Cannon <brett@python.org>
This commit is contained in:
parent
9d4161a60c
commit
96b344c2f1
27 changed files with 227 additions and 49 deletions
|
@ -393,6 +393,7 @@ class BuiltinTest(unittest.TestCase):
|
|||
msg=f"source={source} mode={mode}")
|
||||
|
||||
|
||||
@unittest.skipIf(support.is_emscripten, "socket.accept is broken")
|
||||
def test_compile_top_level_await(self):
|
||||
"""Test whether code some top level await can be compiled.
|
||||
|
||||
|
@ -1213,6 +1214,7 @@ class BuiltinTest(unittest.TestCase):
|
|||
os.environ.clear()
|
||||
os.environ.update(old_environ)
|
||||
|
||||
@support.requires_subprocess()
|
||||
def test_open_non_inheritable(self):
|
||||
fileobj = open(__file__, encoding="utf-8")
|
||||
with fileobj:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue