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
nsthread
jquery-svg
qnx-ifs
sni
consistent-hashing
cucumber-python
ctcallcenter
autocommand
vertices
treeline
cryptographicexception
es6-promise
array-unique
local-database
virtual-machine
azure-gov
kendo-dropdown
systemjs-builder
owin
quicklook
galen
ton
dynamic-picklist-vtiger
locale
acoustic-telemetry
execute
sqoop
autofield
jdo
nsxmlparser