From 20668a61bcda5904fca71573c583d210f2b9725b Mon Sep 17 00:00:00 2001 From: da-woods Date: Fri, 24 May 2024 17:38:46 +0100 Subject: [PATCH] Update test with new message --- Lib/test/test_descr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index c3f292467a6738..de75c4ea1dae36 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -4855,7 +4855,7 @@ class X: with self.assertRaises(TypeError) as cm: type(X).__dict__["__doc__"].__delete__(X) - self.assertIn("cannot delete '__doc__' attribute of immutable type 'X'", str(cm.exception)) + self.assertIn("cannot delete '__doc__' attribute of type 'X'", str(cm.exception)) self.assertEqual(X.__doc__, "banana") def test_qualname(self):