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
google-fit-sdk
lnk
ms-access-2003
web-based
signalrcore
testdriven.io
google-cloud-memorystore
ruby-2.6
gcc7
visio
outgoing-call
ionic-zip
protogen
ssbo
simd
suffix-array
jquery-masonry
right-to-left
forward-compatibility
zxing-js
block-device
uiactivityitemsource
errorprovider
provider-model
browsefragment
multiple-monitors
alerts
revenuecat
language-history
iunknown