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
android-webview-javascript
sslstream
intents-extension
connection-string
core.autocrlf
pluggable-database
nedit
autopilot
webpack-serve
befunge
rpa
tableview
unselect
lightroom
bing
mockttp
fibonacci-heap
google-content-api
programmatic-config
yosys
chilkat-email
java-web-start
uiactivityitemsource
searchable-dropdown
google-secret-manager
jsblocks
azure-advisor
spring-multirabbit
typeface
netpbm