Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 75cbd73

Browse files
committed
#11938: Fix duplicated test name in test_inspect. Patch by Andreas Stührk.
1 parent a782cca commit 75cbd73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_inspect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ def x(self):
801801
thing = Thing()
802802
self.assertEqual(inspect.getattr_static(thing, 'x'), Thing.x)
803803

804-
def test_descriptor(self):
804+
def test_descriptor_raises_AttributeError(self):
805805
class descriptor(object):
806806
def __get__(*_):
807807
raise AttributeError("I'm pretending not to exist")

0 commit comments

Comments
 (0)