[Python-checkins] cpython: improve test name

benjamin.peterson python-checkins at python.org
Wed Aug 17 19:04:28 CEST 2011


http://hg.python.org/cpython/rev/0872cc0f71dc
changeset:   71893:0872cc0f71dc
user:        Benjamin Peterson <benjamin at python.org>
date:        Wed Aug 17 11:48:23 2011 -0500
summary:
  improve test name

files:
  Lib/test/test_descr.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -4253,7 +4253,7 @@
         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"]

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list