Skip to content

Commit

Permalink
Update test with new message
Browse files Browse the repository at this point in the history
  • Loading branch information
da-woods committed May 24, 2024
1 parent 11ff423 commit 20668a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_descr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 20668a6

Please sign in to comment.