]> granicus.if.org Git - python/commitdiff
improve test name
authorBenjamin Peterson <benjamin@python.org>
Wed, 17 Aug 2011 16:48:23 +0000 (11:48 -0500)
committerBenjamin Peterson <benjamin@python.org>
Wed, 17 Aug 2011 16:48:23 +0000 (11:48 -0500)
Lib/test/test_descr.py

index 3f68ee9bd1d333aefab931b3f5c7de2084629d83..aade9f5a4518c20a66608da4d65770fc074714a1 100644 (file)
@@ -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"]