This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients iritkatriel, vstinner
Date 2021-04-27.22:47:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619563650.1.0.523951380092.issue43960@roundup.psfhosted.org>
In-reply-to
Content
I have a fix, I'll make a PR in a bit.

The issue here is the breakpoint number:

Breakpoint 1 at <doctest ...

vs 

Breakpoint 2 at <doctest ...

The breakpoint number is global state, so tests can impact each other.

I recently added a reset_Breakpoint() function that can be used to clear the global state at the beginning of the test: https://github.com/python/cpython/pull/21989/files

So I will make this test use it.
History
Date User Action Args
2021-04-27 22:47:30iritkatrielsetrecipients: + iritkatriel, vstinner
2021-04-27 22:47:30iritkatrielsetmessageid: <1619563650.1.0.523951380092.issue43960@roundup.psfhosted.org>
2021-04-27 22:47:30iritkatriellinkissue43960 messages
2021-04-27 22:47:30iritkatrielcreate