[issue37499] test_gdb.test_pycfunction should use dedicated test functions

STINNER Victor report at bugs.python.org
Fri Jul 5 04:47:49 EDT 2019


STINNER Victor <vstinner at redhat.com> added the comment:

> Per Victor's suggestion in GH-14330, I think we should expose a few test functions in the `testcapi` module as exemplars of their respective calling conventions and use those, rather than arbitrary builtins.

I suggest to write functions which return their arguments, so we can check that we get what we expect ;-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37499>
_______________________________________


More information about the Python-bugs-list mailing list