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
nhibernate-mapping
flink-cep
mysql-error-1005
ini4j
modulo
skyscanner
sesame
boilerpipe
lotus-notes
paradigms
subdirectory
cryptanalysis
aws-visual-studio-toolkit
requirements-management
smlnj
uipath-studio
python-arrow
system.drawing.imaging
uploader
altbeacon
got
tuple-relational-calculus
suffix-tree
seekbar-thumb
minimagick
directoryinfo
on-clause
static-pages
prismjs
twelvedata