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
jaybird
angular-universal
azure-adf
adcolony
insert-id
bioformat
mailboxprocessor
electron
testdriven.io
event-channel
django-upgrade
gal
chef-solo
facebook-c#-sdk
rx-binding
aws-documentdb
nhapi
tessellation
pytest-aiohttp
django-notification
snowpack
typescript-eslintparser
adjustment
uiimagepicker
constraintlayout-flow
opensearch-dashboards
couch-cms
outsystems
360-panorama
react-native-testing-library