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
qubit
x-dwm
outbound
semantic-logging
laravel-formrequest
neighbours
webmethods
autoreload
buildbot
basis
google-chrome-arc
dos2unix
system-error
mplot3d
android-multi-module
http-status-code-308
roundedcorners-dropshadow
tvos13
protobuf-python
ranking
java-vertx-web
twincat-hmi
aws-toolkit
ng-component-outlet
human-interface
in-place
embedded-tomcat-7
aedes
btrfs
autoencoder