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
kafka-join
genome
named-constructor
google-ai-platform
dynamic-controls
android-12
visualmicro
swiftui-navigationlink
laravel-events
postfix-operator
typesafe-stack
responder-chain
jcolorchooser
rtlcss
distinct-on
flutter-custompainter
vsprops
microsoft-rush
mouseleave
font-size
cross-hair-label
django-migrations
starscream
gdlib
soft-keyboard
split
cat
framemaker
swd
ibm-content-navigator