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
package-info
dcm4che
inet
sqlbulkcopy
nearlyfreespeech
cordova-android
lit-html
django-rest-swagger
shelljs
onkeydown
rollover
bsxfun
flowable
stop-words
ubuntu-server
deferrable-constraint
qvector
typedjs
asic
countvectorizer
pre-allocation
dta
livecycle
static-linking
nodenv
requestly
go-to-definition
express-generator
jquery-ui-touch-punch
openinventor