Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a782cca commit 75cbd73Copy full SHA for 75cbd73
1 file changed
Lib/test/test_inspect.py
@@ -801,7 +801,7 @@ def x(self):
801
thing = Thing()
802
self.assertEqual(inspect.getattr_static(thing, 'x'), Thing.x)
803
804
- def test_descriptor(self):
+ def test_descriptor_raises_AttributeError(self):
805
class descriptor(object):
806
def __get__(*_):
807
raise AttributeError("I'm pretending not to exist")
0 commit comments