On Sun, Dec 13, 2020, at 02:13, Jim Brännlund wrote:
> Hey all,
Hi!
> Maybe I missunderstand, but the header of the changelog says:
>
> Backward incompatible (breaking) changes will only be introduced in major
> versions with advance notice in the *Deprecations* section of releases.
>
> Yet, i
Hello.
I have some function with doctest in a file called "spam.py"
```
def egg():
"""
>>> egg()
True
"""
return True
```
I want to run doctest using pytest:
``pytest spam.py::egg --doctest-modules``
But it doesn't work:
==no tests ran in 0.05s ==
It seems that I can't
Hi Ilya,
That's the current behavior, there are no command-line/syntax to select
doctests inside files.
Cheers,
Bruno.
On Sun, Dec 13, 2020 at 8:37 PM Ilya Kazakevich via pytest-dev <
pytest-dev@python.org> wrote:
> Hello.
>
> I have some function with doctest in a file called "spam.py"
> ```
>