diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_descr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 1b53bb6..54b03b2 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): |