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
qaudioinput
android-browser
wide-format-data
cvpixelbuffer
key-management
user-management
recursion-schemes
android-listfragment
cstdio
database-theory
in-app-billing
sift
craftcms
joincolumn
invoices
command-window
qbytearray
pyinstaller
overload-resolution
nvprof
scoped-type-variables
graphql.net
flappy-bird-clone
megasync
webfocus
decompiler
deep-diff
kotlinx-html
uv-mapping
android-sms