mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-45171: Remove tests of deprecated logger.warn(). (GH-32139)
This commit is contained in:
parent
5ca6d7469b
commit
c12ba6b2ff
2 changed files with 1 additions and 4 deletions
|
@ -1568,7 +1568,7 @@ class Logger(Filterer):
|
|||
while stacklevel > 0:
|
||||
next_f = f.f_back
|
||||
if next_f is None:
|
||||
##TODO: We've got options here
|
||||
## We've got options here.
|
||||
## If we want to use the last (deepest) frame:
|
||||
break
|
||||
## If we want to mimic the warnings module:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue