fix comparison
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
122fc214dd
commit
bbce1e5c3f
1 changed files with 3 additions and 1 deletions
|
|
@ -12,6 +12,8 @@ b = director_unroll.Bar()
|
|||
b.set(a)
|
||||
c = b.get()
|
||||
|
||||
if not (a is c):
|
||||
|
||||
if not (a.this == c.this):
|
||||
print a, c
|
||||
raise RuntimeError
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue