Debian Codegraph @

tests/test_decorators_2.py

raw
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