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
extension-methods
gedit-plugin
purchasesupdatedlistener
select-string
lightsail
apache2.2
mfcc
mvp
mergemap
kinetica
elasticsearch-ruby">elasticsearch-ruby
huawei-ml-kit
android-market-filtering
vue-resource
rscript
yard
element-ui
flatten-pdf
swi-prolog
google-docs
talkback
decal
window-messages
node.js-buffer
google-chat
null-safety
fabricjs2
form-layout
psutil
cannon.js