bpo:29950: Rename SlotWrapperType to WrapperDescriptorType (GH-926)
diff --git a/Lib/test/test_types.py b/Lib/test/test_types.py
index 67d3281..3fd66db 100644
--- a/Lib/test/test_types.py
+++ b/Lib/test/test_types.py
@@ -577,10 +577,10 @@
self.assertGreater(tuple.__itemsize__, 0)
def test_slot_wrapper_types(self):
- self.assertIsInstance(object.__init__, types.SlotWrapperType)
- self.assertIsInstance(object.__str__, types.SlotWrapperType)
- self.assertIsInstance(object.__lt__, types.SlotWrapperType)
- self.assertIsInstance(int.__lt__, types.SlotWrapperType)
+ self.assertIsInstance(object.__init__, types.WrapperDescriptorType)
+ self.assertIsInstance(object.__str__, types.WrapperDescriptorType)
+ self.assertIsInstance(object.__lt__, types.WrapperDescriptorType)
+ self.assertIsInstance(int.__lt__, types.WrapperDescriptorType)
def test_method_wrapper_types(self):
self.assertIsInstance(object().__init__, types.MethodWrapperType)