From 8aea0cc94e1949a2fa06924d058a7d150238544a Mon Sep 17 00:00:00 2001
From: Guido van Rossum <guido@python.org>
Date: Wed, 29 Aug 2001 15:48:43 +0000
Subject: [PATCH] Now that int is subclassable, have to change a test that
 tests for non-subclassability.  (More tests for number subclassing should
 follow.)

---
 Lib/test/test_descr.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index 1b53bb64c6..54b03b2f9b 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -684,12 +684,12 @@ def errors():
         verify(0, "inheritance from object and Classic should be illegal")
 
     try:
-        class C(int):
+        class C(type(len)):
             pass
     except TypeError:
         pass
     else:
-        verify(0, "inheritance from int should be illegal")
+        verify(0, "inheritance from CFunction should be illegal")
 
     try:
         class C(object):
-- 
2.49.0