##// END OF EJS Templates
remove KernelApp.parent_appname...
remove KernelApp.parent_appname This allowed the Kernel to load config from ipython_qtconsole_config.py or ipython_notebook_config.py, depending on the parent that started the kernel. This is of limited usefulness, and can add weird, unexpected side effects.

File last commit:

r15516:43a46eb6
r17100:fc70e8a4
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