Kaydet (Commit) 75cbd736 authored tarafından Ezio Melotti's avatar Ezio Melotti

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

üst a782ccaf
......@@ -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")
......
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