Issue #8268: Old-style classes (not just instances) now support weak
references.
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index d106fe7..1720875 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -544,7 +544,7 @@
         class class_oldstyle():
             def method():
                 pass
-        check(class_oldstyle, size(h + '6P'))
+        check(class_oldstyle, size(h + '7P'))
         # instance (old-style class)
         check(class_oldstyle(), size(h + '3P'))
         # instancemethod (old-style class)