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
newline
nuance
ts-node
custom-data-attribute
passive-mode
generate
report
mod-alias
getlocalvalueenumerator
facebook-webhooks
language-implementation
elastic-container-registry
code-conversion
audio-aliasing
uppaal
stipple
boost-mpi
ora-00937
webflux
flutter-assetimage
tolower
cumsum
webdriver-io
print-style
sails-mongo
groupprincipal
2captcha
scxml
packet-capture
braintree