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
node-ffi
member-functions
aws-data-wrangler
ojs
regex-replace
iscroll4
term-vectors
sapi
android-ble-library
heroku-toolbelt
texture-mapping
tr24731
stdset
docker-for-mac
monitoring-query-language
shopify-api-node
charts
response.contenttype
jbossfuse
stripe.js
mat-option
pass-by-reference
compound-drawables
swiperefreshlayout
laravel-spark
android-mipmap
private-network-access
eastl
fortify
dynamic-feature-module