##// END OF EJS Templates
update completion_ and objection_info_request...
update completion_ and objection_info_request both requests take: - code (up to full cell) - cursor_pos (cursor offset in unicode characters) and object_info_replies return a mime-bundle, instead of structured data

File last commit:

r15516:43a46eb6
r16580:de473a1c
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