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
jsonapi-rb
duende
dreamweaver
openkm
purely-functional
magic-sdk
netflix-nebula-plugins
stack-dump
poisson
imagedecoder
system-administration
xdgutils
ubiquitycontainer
irvine32
netflix-hollow
msbuild-14.0
erlang-shell
stm32f7
appx
next-i18next
drone.io
xhtml-1.0-strict
reactive-streams
non-modal
bartender
user-mode-linux
informatica
bindingflags
zgc
clang-static-analyzer