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
jasypt
ue5
responsive-images
cartalyst-sentinel
filesystemwatcher
rootless
blockquote
vips
external-tools
gojs
metro-ui-css
angular-moment
pygame-mixer
nosql-injection
phantomjs
bigcartel
documentsdirectory
facebook
methodhandle
wpmu
codacy
tablesorter
fileopendialog
radhtmlchart
corba
tonic
fatfs
robotics
gac-msil
fipy