From 75cbd73666ce2a616454cdfed91314145eaa04f4 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Thu, 28 Apr 2011 00:59:29 +0300 Subject: [PATCH] =?UTF-8?q?#11938:=20Fix=20duplicated=20test=20name=20in?= =?UTF-8?q?=20test=5Finspect.=20Patch=20by=20Andreas=20St=C3=BChrk.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Lib/test/test_inspect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index 7d7e16e0e15..f5dff1e5439 100644 --- a/Lib/test/test_inspect.py +++ b/Lib/test/test_inspect.py @@ -801,7 +801,7 @@ def x(self): 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")