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
replaykit
execution-time
bluezone
angular-google-chart
powermail
msdyn365bc
lock-service
quote
container-managed
gammu
bslib
dwt
reactor
linqpad7
easygis.net
react-mui
jpcap
fbdev
intellij-platform-psi
keras-2
vbo
resharper-9.1
gitlab-ci-runner
cadquery
atg-dynamo
scosta
kubeapps
wso2-esb
wkurlschemehandler
dlookup