##// END OF EJS Templates
handle zero-length match in v4 completions...
handle zero-length match in v4 completions use start=None instead of `-0` to indicate start == end (which is already None indicating the same value).

File last commit:

r15516:43a46eb6
r20389:f6e7ede8
Show More
test_decorators.py
9 lines | 170 B | text/x-python | PythonLexer
from IPython.utils import decorators
def test_flag_calls():
@decorators.flag_calls
def f():
pass
assert not f.called
f()
assert f.called