/opt/imh-python/lib/python3.9/site-packages/IPython/testing/plugin
NameSizeModeActions
__pycache__/-0755rm
dtexample.py29210644editdlrm
ipdoctest.py118810644editdlrm
pytest_ipdoctest.py296890644editdlrm
README.txt10430644editdlrm
setup.py5390644editdlrm
simple.py7270644editdlrm
simplevars.py240644editdlrm
test_combo.txt9230644editdlrm
test_example.txt7300644editdlrm
test_exampleip.txt8140644editdlrm
test_ipdoctest.py19070644editdlrm
test_refs.py7150644editdlrm
__init__.py00644editdlrm
Edit: /opt/imh-python/lib/python3.9/site-packages/IPython/testing/plugin/test_exampleip.txt (814B)
================================= Tests in example form - IPython ================================= You can write text files with examples that use IPython prompts (as long as you use the nose ipython doctest plugin), but you can not mix and match prompt styles in a single file. That is, you either use all ``>>>`` prompts or all IPython-style prompts. Your test suite *can* have both types, you just need to put each type of example in a separate. Using IPython prompts, you can paste directly from your session:: In [5]: s="Hello World" In [6]: s.upper() Out[6]: 'HELLO WORLD' Another example:: In [8]: 1+3 Out[8]: 4 Just like in IPython docstrings, you can use all IPython syntax and features:: In [9]: !echo hello hello In [10]: a='hi' In [11]: !echo $a hi