From: Ezio Melotti Date: Wed, 27 Apr 2011 21:59:29 +0000 (+0300) Subject: #11938: Fix duplicated test name in test_inspect. Patch by Andreas Stührk. X-Git-Tag: v3.2.1b1~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=75cbd73666ce2a616454cdfed91314145eaa04f4;p=python #11938: Fix duplicated test name in test_inspect. Patch by Andreas Stührk. --- diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index 7d7e16e0e1..f5dff1e543 100644 --- a/Lib/test/test_inspect.py +++ b/Lib/test/test_inspect.py @@ -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")