Update Python tests to not use flatstaticmethod access
Use Python class staticmethod syntax to access C++ static member functions, such as Klass.memberfunction, instead of Klass_memberfunction. Examples and test-suite changes in preparation for issue #2137.
This commit is contained in:
parent
7610997209
commit
cf8788c411
22 changed files with 52 additions and 74 deletions
|
|
@ -54,7 +54,7 @@ class C(FooBar_int):
|
|||
pass
|
||||
|
||||
cc = C()
|
||||
c = FooBar_int_get_self(cc)
|
||||
c = FooBar_int.get_self(cc)
|
||||
c.advance()
|
||||
|
||||
if c.get_name() != "FooBar::get_name hello":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue