[3.14] Docs: unittest.enterModuleContext is not a classmethod (GH-136464) (#136465)

Co-authored-by: Geoffrey Thomas <geofft@ldpreload.com>
This commit is contained in:
Miss Islington (bot) 2025-07-09 15:59:40 +02:00 committed by GitHub
parent 19518a4205
commit 90717c2cec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2556,7 +2556,7 @@ To add cleanup code that must be run even in the case of an exception, use
.. versionadded:: 3.8
.. classmethod:: enterModuleContext(cm)
.. function:: enterModuleContext(cm)
Enter the supplied :term:`context manager`. If successful, also
add its :meth:`~object.__exit__` method as a cleanup function by