class_docstrings(): The new-style class tests should use new-style
classes (sheesh!).
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index cd65c2c..a6d527e 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -98,24 +98,24 @@
pass
verify(Classic2.__doc__ is None)
- class NewStatic:
+ class NewStatic(object):
"Another docstring."
__dynamic__ = 0
verify(NewStatic.__doc__ == "Another docstring.")
verify(NewStatic.__dict__['__doc__'] == "Another docstring.")
- class NewStatic2:
+ class NewStatic2(object):
__dynamic__ = 0
pass
verify(NewStatic2.__doc__ is None)
- class NewDynamic:
+ class NewDynamic(object):
"Another docstring."
__dynamic__ = 1
verify(NewDynamic.__doc__ == "Another docstring.")
verify(NewDynamic.__dict__['__doc__'] == "Another docstring.")
- class NewDynamic2:
+ class NewDynamic2(object):
__dynamic__ = 1
pass
verify(NewDynamic2.__doc__ is None)