@@ -522,6 +522,7 @@ def test_isinstance02():
522
522
assert isinstance (h , HashMap )
523
523
assert isinstance (h , Map )
524
524
525
+ @skipIf (is_native , "not supported in native mode" )
525
526
def test_is_type ():
526
527
import java
527
528
from java .util .logging import Handler
@@ -538,7 +539,8 @@ def test_is_type():
538
539
assert not java .is_type (lr )
539
540
assert not java .is_type (Level .ALL )
540
541
assert not java .is_type ("ahoj" )
541
-
542
+
543
+ @skipIf (is_native , "not supported in native mode" )
542
544
def test_extend_java_class_01 ():
543
545
from java .util .logging import Handler
544
546
from java .util .logging import LogRecord
@@ -585,7 +587,8 @@ def sayHello(self):
585
587
assert h2 .isLoggable (lr )
586
588
assert h2 .this .counter == 1
587
589
assert h .this .counter == 3
588
-
590
+
591
+ @skipIf (is_native , "not supported in native mode" )
589
592
def test_extend_java_class_02 ():
590
593
from java .math import BigDecimal
591
594
try :
@@ -595,7 +598,8 @@ class MyDecimal(BigDecimal):
595
598
assert True
596
599
else :
597
600
assert False
598
-
601
+
602
+ @skipIf (is_native , "not supported in native mode" )
599
603
def test_extend_java_class_03 ():
600
604
#test of java constructor
601
605
from java .util .logging import LogRecord
0 commit comments