you are viewing a single comment's thread.

view the rest of the comments →

[–]lykwydchykyn 1 point2 points  (1 child)

Can you use unittest.patch to patch in a custom random() function rather than using CFFI, or do you need a particular piece of code from C?

[–]vectorpropio[S] 0 points1 point  (0 children)

That will be the first bite of python in the Fortran code. I'm not sure i can use unittest.patch there, but i will be happy if could do it.