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
psychopy
bitrate
pthread-join
winsxs
grpcurl
gdelt
gradle.properties
android-textinputedittext
search-engine-api
jquery-migrate
windows-subsystem-for-linux
file-connection
generative
idioms
react-native-reanimated
keras
transport-layer-protocol
elevated-privileges
mars-simulator
prototyping
fluent-ui
vector
ember-paper
code-hinting
drake
clique
virtual-functions
django-2.x
dot-product
git-filter-branch