Skip to content

Commit a3f4cc7

Browse files
committed
Added evil_function to unittest suite
1 parent 6ab1d7a commit a3f4cc7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/core_wrapper_features_unittest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ def test_const_Standard_Integer_byref(self):
7070
self.assertEqual(t.Value(1), 3)
7171
self.assertEqual(t.Value(2), 33)
7272

73+
def test_handle_standard_transient_copy(self):
74+
def evil_function(t):
75+
handle = Handle_Standard_Transient(t)
76+
t = Standard_Transient()
77+
evil_function(t)
78+
7379
def test_list(self):
7480
'''
7581
Test python lists features

0 commit comments

Comments
 (0)