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
digital-persona-sdk
splice
table-partitioning
lxml.objectify
uniform-server
actualheight
sap-selection-screens
laravel-artisan
visual-web-developer-2010
runpy
borb
geolocation
lumen-5.2
pagerank
dwr
agda-stdlib
taskcompletionsource
pythonw
border-radius
swift-protocols
frombodyattribute
low-memory
nscollectionlayoutsection
vfork
msbuild-task
hwioauthbundle
junos-automation
divide
clipper
snoopy