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
salesforce-einstein
qt5.6
symbolic-execution
bi-tool
vssettings
netbeans
ddev
iasyncenumerable
django-smart-selects
null-propagation-operator
cqlengine
dmz
opendialog
moleculer
cookiejar
static-factory
adobe-pdfservices
petgraph
vlc
android-unit-testing
mdbtools
data-conversion
qgraphicsview
ihttphandler
apache-spark-2.0
implicit-parameters
recursion-schemes
h2o
sqlmap
statefulwidget