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
mongolian-vertical-script
slapd
opennebula
mnemonics
clam
influxdb-2
flakyness
dpc++
adafruit-circuitpython
terra-blockchain
asyncfileupload
abortcontroller
runtimeexception
ngrx-forms
video-embedding
fqdn
code-collaborator
aggregateerror
photoeditorsdk
shared-data
sql-bdc
windows-mixed-reality
shapefile
periodicity
xlconnect
hugsql
aws-organizations
akka
autopep8
jupyter