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
opencvsharp
big-theta
azure-iot-hub-device-management
ignite-ui
satellite-assembly
dynamic-text
defaultproxy
containerdctl
lpcwstr
agentset
zerotier
hd44780
spire.doc
aloha-editor
winui-3
phpfog
asqueryable
rallyapi
boolean-indexing
apache-ode
github-cli
cdb
fiori-elements
aws-ssm
transcription
dcgan
custom-icons
fancybox-3
google-tv
esmodules