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
syndication
ompl
pandas-merge
samsung-galaxy-watch-4
vpn
sap-query
kinect-v2
server-migration
gun
simd
fastparse
jetty-9
yii2-extension
pyxml
fsevents
starlette
chroot
make-scorer
weblate
object-class
microsoft-speech-platform
delphi-11-alexandria
excel-2010
sonarscanner
movabletype
runtime.exec
ftp-server
netplan
dremel
gulp-inject