Skip to content

Commit 651ca51

Browse files
committed
Fix constructor test for Sip binding coverage
1 parent 3496f08 commit 651ca51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/python/utilities.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ def isConstructor(self, member_elem):
704704
try:
705705
definition = member_elem.find('definition').text
706706
name = member_elem.find('name').text
707-
if definition == '{}::{}'.format(name, name):
707+
if '{}::{}'.format(name, name) in definition:
708708
return True
709709
except:
710710
pass

0 commit comments

Comments
 (0)