Commit 75cbd736 authored by Ezio Melotti's avatar Ezio Melotti

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

parent a782ccaf
...@@ -801,7 +801,7 @@ class TestGetattrStatic(unittest.TestCase): ...@@ -801,7 +801,7 @@ class TestGetattrStatic(unittest.TestCase):
thing = Thing() thing = Thing()
self.assertEqual(inspect.getattr_static(thing, 'x'), Thing.x) self.assertEqual(inspect.getattr_static(thing, 'x'), Thing.x)
def test_descriptor(self): def test_descriptor_raises_AttributeError(self):
class descriptor(object): class descriptor(object):
def __get__(*_): def __get__(*_):
raise AttributeError("I'm pretending not to exist") raise AttributeError("I'm pretending not to exist")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment