Closed bveeramani closed 1 year ago
If I add an extra newline, everything works as expected.
def f():
"""Do something.
Example:
>>> x = 3
>>> x
3
"""
pass
Seems like there's no issue with pure doctest
❯ python -m doctest module.py
This is a surprisingly difficult issue to fix, but I am looking into it!
Released in https://pypi.org/project/sybil/5.0.0/
I used Sybil to test a simple docstring, but got an unexpected error.
conftest.py
module.py
Traceback
Dependencies