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
postgrator
reversing
mainactor
macos-carbon
voiceover
comet
remote-mysql
createtextnode
share-intent
fiscal-printer
automation-testing
ora-00904
gaps-in-data
azure-defender
sigfpe
anypoint-platform
lisp-macros
rpg
f#-interactive
concurrent-mark-sweep
volume
zenon-network
jquery-multiselect
aasm
multicore
kdevelop
circle-pack
background-size
document-class
ormlite-servicestack