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
csvhelper
jtag
frequency-domain
fable-f#
type-bounds
selection-api
many-to-one
mysql-error-150
libasound
pytest-asyncio
feature-scaling
objective-j
inspec
django-formtools
stack-unwinding
j48
extent
datagrid
datawindow
tls1.3
jooby
custom-error-pages
gflags
web-mining
non-breaking-characters
disk-partitioning
log4jdbc
dnn9
c#-to-f#
quick-nimble