Document: library/turtle
------------------------
Warning, treated as error:
**********************************************************************
File "library/turtle.rst", line 2797, in default
Failed example:
for turtle in turtles():
turtle.reset()
Exception raised:
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython2/Lib/doctest.py", line 1374, in __run
exec(compile(example.source, filename, "single",
File "<doctest default[0]>", line 1, in <module>
for turtle in turtles():
^^^^^^^
NameError: name 'turtles' is not defined
make[1]: *** [build] Error 2
Testing of doctests in the sources finished, look at the results in build/doctest/output.txt
make: *** [doctest] Error 1
I have a PR ready.
Bug report
There are multiple places where
:skipif: _tkinter is Noneis missing. So, local builds are failing with something like:I have a PR ready.
Linked PRs
turtle.rstdoctests whentkinteris not present #111736turtledoctests when_tkinteris not available #156417