New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mock tests to ensure cupy.cuda.cub
is used
#3467
Conversation
cupy.cuda.cub
is usedcupy.cuda.cub
is used
It seems if the callee is a Python def function (not cdef/cpdef), then mock has no problem in intercepting its return value, and we don't not need to invent a side_effect for it.
Caught something unexpected. Some |
I fixed it. The gotcha is using |
The PR is awesome, |
Nice suggestion, Emilio, I cut more lines! PTAL. |
Sounds good. Done! |
Jenkins, test this please |
Successfully created a job for commit c67c656: |
Jenkins CI test (for commit c67c656, target branch master) succeeded! |
Thanks! |
Follow up of #2598 and #3428. See #3428 (comment).
cc: @emcastillo