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
python-poetry
ampersand
mercury-mta
lambda-calculus
relational
handlebarshelper
git-ftp
laravel-sanctum
ssas-2016
dotcms
blacs
pdfminer
glance
kendo-tabstrip
oaf
jenkins-github-plugin">jenkins-github-plugin
exif
excel-2016
mnemonics
in-memory-database
qstandardpaths
web-developer-toolbar
bidi
factoring
ff4j
uiactionsheet
teamcity
cookie-authentication
macos-catalina
qevent