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
aiopg
uidocumentpickerviewcontroller
giphy-api
dimension
pgcrypto
yajra-datatable
general-protection-fault
build-automation
customizer
mocha-phantomjs
multivalue
seafile-server
tpkeyboardavoiding
dapper-contrib
suiteql
nsfontmanager
package-info
python-logging
buffer-overflow
xonsh
mkdir
codeigniter-form-validation
delphi-xe4
webkit-transition
cfloop
devicecheck
vsto
android-application-restart
mindmap
image-conversion