micropython/tests/jni/system_out.py
Paul Sokolovsky 2430dfac31 tests/jni: Start adding modjni tests.
These are currently not intended to run with the rest of testsuite, as
they require dependencies and special environment setup anyway (drafted
in tests/jni/README).
2015-10-14 00:56:01 +03:00

10 lines
149 B
Python

import sys
try:
import jni
System = jni.cls("java/lang/System")
except:
print("SKIP")
sys.exit()
System.out.println("Hello, Java!")