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
yarn-workspaces
apple-app-site-association
microsoft.codeanalysis
github-oauth
automatic-mixed-precision
express-jwt
google-authentication
nextuntil
ocamlyacc
levels
ddos
flatlist
pipelined-function
flink-sql
resttemplate
sql-subselect
postgresql-14
wdio-v5
usersnap
falsy
flutter-drawer
tensorflow-extended
oas
date-difference
cookiestore
shell-extensions
cimage
snowflake-pipe
automapper-11
wep