From af3dcd2f9871a953d58408b114b8d1579618c6e8 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 17 Aug 2011 11:48:23 -0500 Subject: [PATCH] improve test name --- Lib/test/test_descr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ class Foo: 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"]