##// END OF EJS Templates
Skip test that builtin signature can't be inspected...
Skip test that builtin signature can't be inspected Builtins can now provide a signature, and sum() does so as of Python 3.5. I thought this is related to PEP 436, but that still appears to be in draft status, so I'm not sure.

File last commit:

r15516:43a46eb6
r21313:ca058918
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