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
rollup-plugin-postcss
nehotspotconfigurationmanager
jsviews
street-address
signed-apk
spinnaker-halyard
outlook-form
single-spa-react
find-package
jira-integration
jamstack
parallel-for
react-typeahead
hunchentoot
solid-principles
symfony-http-client
expandablelistadapter
jaxb2
react-16
dbref
sap-information-steward
calculated-property
lowest-common-ancestor
rails-assets
dynamic-typing
integration-studio
homekit
jet
wildfly-17
imbalanced-data