Skip to content

Commit 90717c2

Browse files
[3.14] Docs: unittest.enterModuleContext is not a classmethod (GH-136464) (#136465)
Co-authored-by: Geoffrey Thomas <[email protected]>
1 parent 19518a4 commit 90717c2

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
@@ -2556,7 +2556,7 @@ To add cleanup code that must be run even in the case of an exception, use
25562556
.. versionadded:: 3.8
25572557

25582558

2559-
.. classmethod:: enterModuleContext(cm)
2559+
.. function:: enterModuleContext(cm)
25602560

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

0 commit comments

Comments
 (0)