Skip to content

Commit 20668a6

Browse files
committed
Update test with new message
1 parent 11ff423 commit 20668a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_descr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4855,7 +4855,7 @@ class X:
48554855

48564856
with self.assertRaises(TypeError) as cm:
48574857
type(X).__dict__["__doc__"].__delete__(X)
4858-
self.assertIn("cannot delete '__doc__' attribute of immutable type 'X'", str(cm.exception))
4858+
self.assertIn("cannot delete '__doc__' attribute of type 'X'", str(cm.exception))
48594859
self.assertEqual(X.__doc__, "banana")
48604860

48614861
def test_qualname(self):

0 commit comments

Comments
 (0)