Skip to content

Commit

Permalink
Fix constructor test for Sip binding coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 9, 2016
1 parent 3496f08 commit 651ca51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/utilities.py
Expand Up @@ -704,7 +704,7 @@ def isConstructor(self, member_elem):
try:
definition = member_elem.find('definition').text
name = member_elem.find('name').text
if definition == '{}::{}'.format(name, name):
if '{}::{}'.format(name, name) in definition:
return True
except:
pass
Expand Down

0 comments on commit 651ca51

Please sign in to comment.