I am wondering if there is a way to split function calls over multiple lines for doctest. E.g., for something like
>>> result = some_func(some_param=1, another_param=4, a_third_param='super_long_string')
I tried
>>> result = some_func(some_param=1, another_param=4,
... a_third_param='super_long_string')
>>> result = some_func(some_param=1, another_param=4, \
a_third_param='super_long_string')
Or
>>> result = some_func(#doctest: +NORMALIZE_WHITESPACE
some_param=1,
another_param=4,
a_third_param='super_long_string')
But both wouldn't work. Any ideas or tips?
Edit:
I am running the doctests via nosetests -sv --with-doctest