The current version of example-checker.ipynb does not allow multi-line inputs for code. It currently parses commands one line at a time and does not support a command that needed to be put on two lines. This is a bug.
However, while running python tools/refguide_check.py --doctests, I found out that this doesn't matter much, as the doctest checker has the same issue. So if you decide to fix the bug in the example checker, I'm guessing a similar fix could improve tools/refguide_check.py. The developers are planning to move to a new doctest tool soon.
The current version of
example-checker.ipynb
does not allow multi-line inputs for code. It currently parses commands one line at a time and does not support a command that needed to be put on two lines. This is a bug.However, while running
python tools/refguide_check.py --doctests
, I found out that this doesn't matter much, as the doctest checker has the same issue. So if you decide to fix the bug in the example checker, I'm guessing a similar fix could improvetools/refguide_check.py
. The developers are planning to move to a new doctest tool soon.