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
memory-limit
developer-story
maven-extension
warnings
monitoring
pivotitem
inline-editor
dimple.js
direct3d
sqlfilestream
scala-reflect
zkteco
sharepoint-userprofile
semplot
insertion-order
django-fsm
quickjs
error-list
aws-snowball
lock-timeout
dita-ot
execfile
faultexception
virtual-reality
web-chat
wpa2-psk
intl
ccitt
snapping
inner-classes