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 8f706d1 commit 36d5bffCopy full SHA for 36d5bff
Lib/test/test_cprofile.py
@@ -142,8 +142,8 @@ def test_throw(self):
142
def test_bad_descriptor(self):
143
"""
144
gh-132250
145
- cProfile should not crash when profiling a function with a descriptor
146
- that raises an exception.
+ cProfile should not crash when the profiler callback fails to locate
+ the actual function of a method.
147
148
with self.profilerclass() as prof:
149
with self.assertRaises(TypeError):
0 commit comments