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
python-mock
bbcode
solid
execve
spring-repositories
lampp
pdftoppm
http-status-code-422
nlu
bellman-ford
spring-native
http-streaming
free-jqgrid
symfony4
worksite-sdk
hsm
appodeal
readyroll
enterprise
sqlalchemy-pytds
set-comprehension
facebook-pixel
di-containers
mongodb-lookup
freepascal
python-gearman
libavformat
java-money
avcapturephotooutput
acra