Replies: 1 comment
-
Any function you don't expose to python, you cannot test with python On the c side of things people tend to use cffi or ctypes Personally i would recommend that you have a a private cpdef based wrapper for the cdef to facilitate invocation in tests It's OK to put such wrappers in private modules |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can I use pytest to test cython functions that are defined as cdefs (not cpdefs like in the documentation: https://pytestguide.readthedocs.io/en/latest/pytestGuide/)?
Beta Was this translation helpful? Give feedback.
All reactions