#11938: Fix duplicated test name in test_inspect. Patch by Andreas Stührk.

This commit is contained in:
Ezio Melotti 2011-04-28 00:59:29 +03:00
parent a782ccaf6c
commit 75cbd73666

View 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")