##// END OF EJS Templates
Set up shell command-line tab-completion for ipython...
Set up shell command-line tab-completion for ipython Set up shell command-line tab-completion using argcomplete and ipython/traitlets#811 argcomplete supports following setuptools console_scripts to the corresponding package's __main__.py to look for a PYTHON_ARGCOMPLETE_OK marker.

File last commit:

r15516:43a46eb6
r27960:3455b573
Show More
test_decorators.py
9 lines | 170 B | text/x-python | PythonLexer
Thomas Kluyver
Add tests for things in utils
r15516 from IPython.utils import decorators
def test_flag_calls():
@decorators.flag_calls
def f():
pass
assert not f.called
f()
assert f.called