We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4017a0b commit 23740ecCopy full SHA for 23740ec
graalpython/com.oracle.graal.python.test/src/tests/test_jarray.py
@@ -38,11 +38,13 @@
38
# SOFTWARE.
39
40
import platform
41
-import sys
42
import unittest
43
+import sys
44
+
45
# The platform.system() == 'Java' is to make it possible to run with Jython
-if platform.system() == 'Java' or sys.implementation.name == "graalpython":
46
+if (platform.system() == 'Java' or sys.implementation.name == "graalpython") and \
47
+ not __graalpython__.is_native:
48
from java.util import Arrays
49
from java.lang import StringBuilder
50
import jarray
0 commit comments