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
jyni
google-photos
rpostgresql
mapbox
unicode-range
kafka-join
rtmps
gdbus
bootcamp
xcode-build-settings
wxpython
webex
domino-designer-eclipse
android-audiorecord
seekg
wp-nav-walker
filtering
anpr
tabula-py
cscore
expo-av
markup-extensions
period
uialertview
pagertitlestrip
r-promises
esphome
cfmail
libyang
swift-class