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
pdf2htmlex
redux-saga
ampersand.js
imap-tools
osx-elcapitan
input-filtering
playwright-test
dotty
pyimgui
pgbench
matrix-multiplication
toad
pc-lint
pbr
weston
sakila-database
ou
custom-functions-excel
webpage-screenshot
insertion
cheminformatics
react-d3-graph
saxparser
ffdshow
recursive-templates
.net-4.7.1
fragment-identifier
cameracapturetask
j48
latent-semantic-indexing