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
formal-grammars
square-tape
elm-ui
prefast
sitecore6
viper-architecture
bytestring
kafka-node
background-music
gst-launch-1.0
rangy
spring-boot-gradle-plugin
os.walk
refinitiv-eikon-api
wpe
mbedtls
vaadin20
unchecked-exception
failing-tests
inter-process-communicat
dynamics-nav-2013
biztalk-2013
utf8mb4
reactable
wso2-identity-server
google-healthcare-api
connectionexception
daxstudio
aggregation
dangerouslysetinnerhtml