mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-22 11:45:28 -05:00
Remove 'Implicit Async', Don't Await runtime.run() (#928)
* Revert to runPython instead of await runPythonAsync * "Implicit Coroutines" are no longer permitted in py-script tags * Tests added for the above * xfail test_importmap (See #938)
This commit is contained in:
@@ -100,7 +100,7 @@ class TestConfig(PyScriptTest):
|
||||
""",
|
||||
)
|
||||
|
||||
assert self.console.log.lines == [self.PY_COMPLETE, "version 0.20.0"]
|
||||
assert self.console.log.lines[-1] == "version 0.20.0"
|
||||
version = self.page.locator("py-script").inner_text()
|
||||
assert version == "0.20.0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user