MCPcopy
hub / github.com/SirVer/ultisnips / TabStop_Shell_ShebangPython

Class TabStop_Shell_ShebangPython

test/test_Interpolation.py:57–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56
57class TabStop_Shell_ShebangPython(_VimTest):
58 skip_if = lambda self: running_on_windows()
59 snippets = (
60 "test",
61 """Hallo ${{1:now `#!/usr/bin/env {}
62print("Hallo Welt")
63`}} end""".format(os.environ.get("PYTHON", "python3")),
64 )
65 keys = "test" + EX + JF + "and more"
66 wanted = "Hallo now Hallo Welt endand more"
67
68
69class TabStop_VimScriptInterpolation_SimpleExample(_VimTest):

Callers

nothing calls this directly

Calls 1

running_on_windowsFunction · 0.90

Tested by

no test coverage detected