##// END OF EJS Templates
IPython/utils/tests/test_path.py: Decode UTF-8 paths before passing them to `os.path` functions. Required for running `docker build`s of `jupyter/notebook` containers.
IPython/utils/tests/test_path.py: Decode UTF-8 paths before passing them to `os.path` functions. Required for running `docker build`s of `jupyter/notebook` containers.

File last commit:

r15516:43a46eb6
r21720:2ac47388
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