Skip to content

Commit 7a548e2

Browse files
[3.13] Docs: unittest.enterModuleContext is not a classmethod (GH-136464) (#136466)
Co-authored-by: Geoffrey Thomas <[email protected]>
1 parent 532ecac commit 7a548e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/unittest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2500,7 +2500,7 @@ To add cleanup code that must be run even in the case of an exception, use
25002500
.. versionadded:: 3.8
25012501

25022502

2503-
.. classmethod:: enterModuleContext(cm)
2503+
.. function:: enterModuleContext(cm)
25042504

25052505
Enter the supplied :term:`context manager`. If successful, also
25062506
add its :meth:`~object.__exit__` method as a cleanup function by

0 commit comments

Comments
 (0)