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
cloud9-ide
kafka-cluster
cufft
typescript3.8
cross-language
pagedlist
single-precision
rubber
visual-paradigm
visual-c++-2019
html-pdf
mobiscroll
code-sharing
robotframework-pythonremoteserver
jenkins-2
controller-factory
clipspy
xl-deploy
java.nio.file
mov
datastax-java-driver
system.io.fileinfo
alexa-presentation-language
cikernel
gatling
ajv
greenplum
pyre-check
discovery
point-in-time-recovery