diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 3f68ee9bd1d..aade9f5a451 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -4253,7 +4253,7 @@ order (MRO) for bases """ foo = Foo() str(foo) - def test_slot_shadows_class(self): + def test_slot_shadows_class_variable(self): with self.assertRaises(ValueError) as cm: class X: __slots__ = ["foo"]