Fix wrapping of virtual comparison operators with directors
Closes #1642.
This commit is contained in:
parent
430a44e075
commit
4e57c5536d
4 changed files with 28 additions and 4 deletions
|
|
@ -0,0 +1,11 @@
|
|||
import director_comparison_operators
|
||||
|
||||
|
||||
class PyFoo(director_comparison_operators.Foo):
|
||||
pass
|
||||
|
||||
|
||||
a = PyFoo()
|
||||
|
||||
if a.test() != "a=1,b=2":
|
||||
raise RuntimeError, a.test()
|
||||
Loading…
Add table
Add a link
Reference in a new issue