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
moment-business-days
angular-test
magento-1.4
pointer-arithmetic
libktx
cxml
android-inflate
docker-proxy
zip
cl
confirm
path-parameter
real-time
escape-analysis
soclass
react-flow
reversi
spectre
mergeinfo
string-table
docx2txt
devexpress
ember-cli-mirage
mondrian
user-feedback
flutter-scrollbar
kubeapps
cut-and-paste
build-process
nshttpcookie