A project I'm involved in uses testbook to test code cells of Jupyter notebooks. Patching works fine — unless the code to be tested asks for
c++-cli
lastindexof
rabbitvcs
helmfile
policy-violation
logical-decoding
big.js
pac
mplab-x
pci-bus
button
cdatabase
imagej
mplfinance
forcats
tkinter-menu
read-text
dotnet-dev-certs
control-language
qtandroidextras
java-2d
brk
ipython
itunesconnect-analytics
internal-load-balancer
wtl
neptune-python-utils
typetraits
kickstarter
powermockrunner