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
bearing
appboy
mplab
dotnet-cli
constraintlayout-guideline
libuv
plsql
akeneo
artifacts
office-dialog-api
reactive-postgresql-client
microphone
httpapplicationstate
greasemonkey-4
dbase
value-of
django-crispy-forms
database-partitioning
laravel-backpack
flutter-gridview
android-vts
vtiger
mpmovieplayer
soil
craigslist
mondrian
interleave
ngrx-forms
gwt-compiler
akismet