From 7a548e26ac76d3f5b0946b76fd909717dbff78e1 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Wed, 9 Jul 2025 16:01:23 +0200 Subject: [PATCH] [3.13] Docs: unittest.enterModuleContext is not a classmethod (GH-136464) (#136466) Co-authored-by: Geoffrey Thomas --- Doc/library/unittest.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 3e9056a458bf..5aa0e6ad5f55 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -2500,7 +2500,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 -- 2.47.3