mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 10:47:35 -05:00
* Fix #2114 - Cleanup the test folder + automation * Merged both test and tests into a single folder
9 lines
157 B
Python
9 lines
157 B
Python
from pyscript import document
|
|
|
|
classList = document.documentElement.classList
|
|
|
|
if not __terminal__:
|
|
classList.add("error")
|
|
else:
|
|
classList.add("ok")
|