Defaulting to async for top-level await (#2134)

This commit is contained in:
Andrea Giammarchi
2024-08-05 15:55:53 +02:00
committed by GitHub
parent fafdf74007
commit 0d0ea96435
8 changed files with 37 additions and 609 deletions

View File

@@ -97,7 +97,7 @@ class TestBasic(PyScriptTest):
def test_input_exception(self):
self.pyscript_run(
"""
<script type="py">
<script type="py" async="false">
input("what's your name?")
</script>
"""