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
datamapper
spotfire-analyst
mod-deflate
binary-image
scheduling
3g
plesk-onyx
diff
bochs
saved-searches
tabulator-py
leaderboard
datashader
exporter
uiprintinfo
threat-model
windows-subsystem-for-linux
area-chart
angular-providers
boost-spirit-x3
pyotherside
getpixel
flutter-razorpay
struts2-config-browser
path-2d
dynamics-ax-2012
http-status-code-302
immutable.js
xmeans
dublin-core