Skip to content

Commit 36d5bff

Browse files
Update comments
1 parent 8f706d1 commit 36d5bff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_cprofile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ def test_throw(self):
142142
def test_bad_descriptor(self):
143143
"""
144144
gh-132250
145-
cProfile should not crash when profiling a function with a descriptor
146-
that raises an exception.
145+
cProfile should not crash when the profiler callback fails to locate
146+
the actual function of a method.
147147
"""
148148
with self.profilerclass() as prof:
149149
with self.assertRaises(TypeError):

0 commit comments

Comments
 (0)