Commit Graph

5 Commits

Author SHA1 Message Date
Adrien Boulanger
1b4bf35ad9 TC21-029: Fix PyAdaMethodDescrObject function call
The cfunc is stored inside the descriptor when doing:

f = Foo()
f.bar() => cfunc is retrieved via tp_descr_get
Foo.bar(f) => cfunc is retrieved via tp_call

Without defining tp_call it will try to call a
wrapping function without the proper flags.

Change-Id: I164492895cee66dd4d9946b505c6866c2fea768a
2021-02-12 11:14:20 +01:00
Adrien Boulanger
39e71d520d T416-023: Fix test
The test is creating a hidden property which can't be accessed
by at the python level => thus the last check is always wrong:
remove it.

Change-Id: I5dc8eff713e2e55cfcf97c5758a0fc6c463f69a2
2020-08-05 17:36:13 +02:00
Adrien Boulanger
7b0376a444 T416-023: Add python3-bindings tests
Change-Id: Id656b2905eaa4536e37ec00314479a9e248129e3
2020-07-08 17:06:58 +02:00
Nicolas Roche
78fae807b1 Update testsuite
* Adjust test layout
* Add a test for T701-014
* Add documentation on existing tests

Change-Id: Iafaf003ceec6af038c76bc6899b169865e3294be
2020-07-03 06:31:52 -07:00
Nicolas Roche
58ea71a57a Add testsuite framework for gnatcoll python 3.x binding
Part of T702-023

Change-Id: I73b3541df5bb5c441310c0ebb85a158cc9fe5eac
2020-07-02 04:08:27 -07:00