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
scnaction
virtual-webcam
networkx
sublime-anaconda
tabbedpage
remote-registry
google-sso
diagonal
maven-central
code-climate
fuse
dotnet-publish
wkwebviewconfiguration
uisearchdisplaycontroller
reactstrap
qtimer
retention
webdataset
silverlight-4.0
lan
html5-filesystem
intel-modin
faces-config
pax
android-edittext
ajsf
autodesk-navisworks
ocrmypdf
sub-array
async-pipe