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
nvidia-smi
orleans
handles
simpledom
ng-mocks
virtuallistview
qitemdelegate
vmalloc
msix
ng-content
angularjs-scope
tronbox
loop-device
django-sites
mutation
pairwise.wilcox.test
bpl
ubuntu-13.10
menu-items
webbot
chronicle-map
hibernate-session
outputdebugstring
charactercount
controlflowguard
rollback
jquery-selectbox
automaton
sendkeys
hhvm