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
toolstripbutton
resharper-plugins
dbal
inversion
datatables
smooth-scrolling
robotframework-sshlibrary
text-analysis
web-site-project
map-directions
pgzero
getpicture
locationmanager
logentries
call
autocommenting
date-pipe
parsley.js
static-site
backlog
instruments
code-generation
dspace
c#-7.3
php-7
cgridview
jetbrains-hub
spring-io
avplayerviewcontroller
debconf