☰
Debian Codegraph
@
9.11.0-3
9.11.0-2
/
/
tests
/
test_decorators_2.py
☽
☼
tests/test_decorators_2.py
code
plain
raw
BSD-3-clause
2005,2008-2015 The IPython Development Team; 2001-2007, Fernando Perez <
[email protected]
>; 2001, Janko Hauser <
[email protected]
>; 2001, Nathaniel Gray <
[email protected]
>; 2002-2005, Alexander Schmolck; 2004, W.J. van der Laan <
[email protected]
>; 2001, Python Software Foundation, www.python.org; 2009, Gael Varoquaux
(
[email protected]
)
; 2005, Jörgen Stenarson <
[email protected]
>
debian/copyright
1
from IPython.utils import decorators
2
3
4
def test_flag_calls():
5
@decorators.flag_calls
6
def f():
7
pass
8
9
assert not f.called
10
f()
11
assert f.called