mirror of https://github.com/python/cpython.git
e8dbe7ec57
gh-104745: Limit starting a patcher more than once without stopping it (GH-126649)
Previously, this would cause an `AttributeError` if the patch stopped more than once after this, and would also disrupt the original patched object.
---------
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
_log.py | ||
async_case.py | ||
case.py | ||
loader.py | ||
main.py | ||
mock.py | ||
result.py | ||
runner.py | ||
signals.py | ||
suite.py | ||
util.py |