##// END OF EJS Templates
Fix max_seq_length input to RepresentationPrinter...
Fix max_seq_length input to RepresentationPrinter max_seq_length is passed to RepresentationPrinter as a positional argument but the order is not correct for RepresentationPrinter's __init__. Pass max_seq_length as a keyword argument instead.

File last commit:

r15516:43a46eb6
r21903:de68bf5d
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