I'm unable to capture stdout of runpy.run_module into a variable using StringIO. To demonstrate the problem, I created a script called runpy_test.py (code below
signals2
stm32f7
ssis-2016
explicit-instantiation
jamvm
callable
android-audiorecord
cfsocket
trafficshaping
virtual-dom
itcl
translate
r-usethis
lua-api
vaex
testng-eclipse
bitmapdata
pygments
luacom
undefined-index
integer
bounding-box
outlook-2010
pyabc
groovydsl
react-native-draggable-flatlist
preg-split
tabris
collapse
sass-loader