def test_import_invocation(): import js def temp(): print("okay?") js.setTimeout(temp, 100) js.fetch("packages.json")
def test_import_invocation(): import js def temp(): print("okay?") from pyodide import create_once_callable js.setTimeout(create_once_callable(temp), 100) js.fetch("packages.json")
def test_import_bind(): from js import fetch fetch("packages.json")