MCPcopy 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)
21def 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

mainFunction · 0.90

Tested by

no test coverage detected