mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
#11938: Fix duplicated test name in test_inspect. Patch by Andreas Stührk.
This commit is contained in:
parent
a782ccaf6c
commit
75cbd73666
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue