]> granicus.if.org Git - python/commitdiff
#11938: Fix duplicated test name in test_inspect. Patch by Andreas Stührk.
authorEzio Melotti <ezio.melotti@gmail.com>
Wed, 27 Apr 2011 21:59:29 +0000 (00:59 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Wed, 27 Apr 2011 21:59:29 +0000 (00:59 +0300)
Lib/test/test_inspect.py

index 7d7e16e0e15623275c5f10fa1e658072b3f2885f..f5dff1e54393bd5f27e8d497d4674df22bfc4e3c 100644 (file)
@@ -801,7 +801,7 @@ class TestGetattrStatic(unittest.TestCase):
         thing = Thing()
         self.assertEqual(inspect.getattr_static(thing, 'x'), Thing.x)
 
-    def test_descriptor(self):
+    def test_descriptor_raises_AttributeError(self):
         class descriptor(object):
             def __get__(*_):
                 raise AttributeError("I'm pretending not to exist")