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
bass.dll
authlib
acquia
qudpsocket
playback
android-tabhost
maatwebsite-excel
facebook-send-api
perl5.6
mediaplayerelement
string.format
zmodem
token-swap-program
ascx
android-api-31
system.reflection
polymer-2.x
relational
spring-cloud-zookeeper
extends
twilio-cli
ember.js-3
size-reduction
value-of-css-property
pimcore-v5
variable-assignment
backstage
design-guidelines
create-react-app
dde