On 31.03.2021 15:54, Ethan Furman wrote: > Because I could not find any error in the documentation that would cause the > problem (the first three cases succeeded, using the same construct). > >> Why is that even allowed? > > Because the tests are not perfect. > > I did post a message to python-dev to see if anybody had any idea on why that > particular test was failing, but there were no replies.
It seems that some of the doc tests are missing imports of e.g. Flag from enum. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Experts (#1, Mar 31 2021) >>> Python Projects, Coaching and Support ... https://www.egenix.com/ >>> Python Product Development ... https://consulting.egenix.com/ ________________________________________________________________________ ::: We implement business ideas - efficiently in both time and costs ::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 https://www.egenix.com/company/contact/ https://www.malemburg.com/ _______________________________________________ python-committers mailing list -- python-committers@python.org To unsubscribe send an email to python-committers-le...@python.org https://mail.python.org/mailman3/lists/python-committers.python.org/ Message archived at https://mail.python.org/archives/list/python-committers@python.org/message/Y7KJYTXFETANY56DYIHFXKXXLWDG7GCJ/ Code of Conduct: https://www.python.org/psf/codeofconduct/