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
react-instantsearch
jdeps
uidocument
android-contentresolver
webfonts
datasplice
vmware-player
at-command
one-definition-rule
class-diagram
icu
std-invoke
nonfactors-mvc-grid
apollo-client
vector-class-library
display-cutouts
spp
readerwriterlockslim
qtpositioning
nearley
ttl
dotnet-httpclient
will-change
mgcv
rubygame
google-auth-library-ruby
instamojo
actualheight
rcppeigen
macos