summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorJim Fasarakis-Hilliard <d.f.hilliard@gmail.com>2017-04-25 18:26:36 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2017-04-25 18:26:36 (GMT)
commit08c16016e2a2d1368d001ddebfe9ca92465773c4 (patch)
tree587af7612410fa638a420e845e16be2521a9552f /Lib/test
parent97bf722fcd1de1236824377e052369dc7686b644 (diff)
downloadcpython-08c16016e2a2d1368d001ddebfe9ca92465773c4.zip
cpython-08c16016e2a2d1368d001ddebfe9ca92465773c4.tar.gz
cpython-08c16016e2a2d1368d001ddebfe9ca92465773c4.tar.bz2
bpo:29950: Rename SlotWrapperType to WrapperDescriptorType (GH-926)
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_types.py8
1 files changed, 4 insertions, 4 deletions
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 @@ class TypesTests(unittest.TestCase):
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)