Rename class attribute containing the class to be tested, so the name is the
same as for the string and sequence tests.
diff --git a/Lib/test/test_shelve.py b/Lib/test/test_shelve.py
index fda02da..e3f237d 100644
--- a/Lib/test/test_shelve.py
+++ b/Lib/test/test_shelve.py
@@ -82,7 +82,7 @@
     def __init__(self, *args, **kw):
         self._db = []
         mapping_tests.BasicTestMappingProtocol.__init__(self, *args, **kw)
-    _tested_class = shelve.Shelf
+    type2test = shelve.Shelf
     def _reference(self):
         return {"key1":"value1", "key2":2, "key3":(1,2,3)}
     def _empty_mapping(self):