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
broom
amqp
tagfield
nomethoderror
class-attributes
scroll-snap
android-make
gst-launch
nelmiosolariumbundle
fritzbox
file-encodings
azure-vm
microsoft-graph-mail
interactive
wp-multiple-featured-image-plugin
react-beautiful-dnd
jsxhint
window-scroll
google-cloud-networking
formatexception
new-psdrive
video-conversion
dynamic-chart-series
smooch
outputformat
easy-auth
dalex
react-constate
httpd.conf
tensorflow-ssd