MCPcopy Create free account
hub / github.com/ipython/ipython / doctest_simple

Function doctest_simple

IPython/testing/plugin/test_ipdoctest.py:10–18  ·  view source on GitHub ↗

ipdoctest must handle simple inputs In [1]: 1 Out[1]: 1 In [2]: print(1) 1

()

Source from the content-addressed store, hash-verified

8"""
9
10def doctest_simple():
11 """ipdoctest must handle simple inputs
12
13 In [1]: 1
14 Out[1]: 1
15
16 In [2]: print(1)
17 1
18 """
19
20def doctest_multiline1():
21 """The ipdoctest machinery must handle multiline examples gracefully.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected