##// END OF EJS Templates
Fixes #11068 : Cleanup extra logic that handle python <=3.3 in IPython/core/extensions.py
Fixes #11068 : Cleanup extra logic that handle python <=3.3 in IPython/core/extensions.py

File last commit:

r15516:43a46eb6
r24294:9c4b47a3
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