mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 02:37:41 -05:00
* Fix #2114 - Cleanup the test folder + automation * Merged both test and tests into a single folder
14 lines
243 B
Python
14 lines
243 B
Python
import js
|
|
|
|
js.document.body.append("document patch ")
|
|
|
|
import a
|
|
from pyscript import RUNNING_IN_WORKER, display, sync
|
|
|
|
display("Hello World", target="test", append=True)
|
|
|
|
print(RUNNING_IN_WORKER)
|
|
print("sleeping")
|
|
sync.sleep(1)
|
|
print("awake")
|