(original) (raw)
changeset: 69643:ef35dae58077 branch: 3.2 parent: 69641:119c7219b1ac user: Ezio Melotti ezio.melotti@gmail.com date: Thu Apr 28 00:59:29 2011 +0300 files: Lib/test/test_inspect.py description: #11938: Fix duplicated test name in test_inspect. Patch by Andreas Stührk. diff -r 119c7219b1ac -r ef35dae58077 Lib/test/test_inspect.py --- a/Lib/test/test_inspect.py Thu Apr 28 00:53:14 2011 +0300 +++ b/Lib/test/test_inspect.py Thu Apr 28 00:59:29 2011 +0300 @@ -801,7 +801,7 @@ 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") /ezio.melotti@gmail.com