MCPcopy Index your code
hub / github.com/ipython/ipython / test_transform_help

Function test_transform_help

tests/test_inputtransformer2.py:281–292  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

279
280
281def test_transform_help():
282 tf = ipt2.HelpEnd((1, 0), (1, 9))
283 assert tf.transform(HELP_IN_EXPR[0]) == HELP_IN_EXPR[2]
284
285 tf = ipt2.HelpEnd((1, 0), (2, 3))
286 assert tf.transform(HELP_CONTINUED_LINE[0]) == HELP_CONTINUED_LINE[2]
287
288 tf = ipt2.HelpEnd((1, 0), (2, 8))
289 assert tf.transform(HELP_MULTILINE[0]) == HELP_MULTILINE[2]
290
291 tf = ipt2.HelpEnd((1, 0), (1, 0))
292 assert tf.transform(HELP_UNICODE[0]) == HELP_UNICODE[2]
293
294
295def test_find_assign_op_dedent():

Callers

nothing calls this directly

Calls 1

transformMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…