Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lincolnloop/python-qrcode
/ test_piped
Function
test_piped
qrcode/tests/test_script.py:21–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
20
@mock.patch(
"os.isatty"
,
lambda
*args: False)
21
def
test_piped():
22
pytest.importorskip(
"PIL"
, reason=
"Requires PIL"
)
23
main([
"testtext"
])
24
25
26
@mock.patch(
"os.isatty"
,
lambda
*args: True)
Callers
nothing calls this directly
Calls
1
main
Function · 0.90
Tested by
no test coverage detected