diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_inspect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index 7d7e16e..f5dff1e 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") |