Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/kivy/python-for-android
/ patch_sys_stdout
Function
patch_sys_stdout
tests/test_toolchain.py:19–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
18
19
def
patch_sys_stdout():
20
return
mock.patch(
'sys.stdout'
, new_callable=io.StringIO)
21
22
23
def
raises_system_exit():
Callers
1
test_recipes
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected