MCPcopy
hub / github.com/scrapy/scrapy / test_get_shell_embed_func

Function test_get_shell_embed_func

tests/test_utils_console.py:21–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20
21def test_get_shell_embed_func():
22 shell = get_shell_embed_func(["invalid"])
23 assert shell is None
24
25 shell = get_shell_embed_func(["invalid", "python"])
26 assert callable(shell)
27 assert shell.__name__ == "_embed_standard_shell"
28
29
30@pytest.mark.skipif(not bpy, reason="bpython not available in testenv")

Callers

nothing calls this directly

Calls 1

get_shell_embed_funcFunction · 0.90

Tested by

no test coverage detected