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
azure-purview
haskell-infinite-datastructure
resthighlevelclient
rollout
decrease-key
qpainterpath
monaco-editor
entity
cpu-hazard
avro
pylatex
apple-app-site-associate
lighthouse
httpsession
xfdf
heredoc
evaporate.js
general-sql-parser
windows-server-2003-r2
intune
kubernetes-service
getdirectories
linear-optimization
ansible-inventory
cas
symbolic-execution
visual-studio-2008
execute-immediate
sanitize
nuxtjs2