Skip to content

Commit

Permalink
Remove unittest for removed function
Browse files Browse the repository at this point in the history
  • Loading branch information
Thrameos committed Sep 16, 2024
1 parent e27fa00 commit 6c1b853
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/jpypetest/test_fault.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,6 @@ def testJPObject_null(self):
null.int_field = 1
# null.callInt(1)

@common.requireInstrumentation
def testJPClass_new(self):
_jpype.fault("PyJPClass_new")
with self.assertRaisesRegex(SystemError, "fault"):
_jpype._JClass("foo", (object,), {})
with self.assertRaises(TypeError):
_jpype._JClass("foo", (object,), {})
with self.assertRaises(TypeError):
_jpype._JClass("foo", (_jpype._JObject,), {'__del__': None})

@common.requireInstrumentation
def testJPClass_init(self):
_jpype.fault("PyJPClass_init")
Expand Down

0 comments on commit 6c1b853

Please sign in to comment.