mirror of
https://github.com/python/cpython.git
synced 2025-08-29 13:15:11 +00:00
Issue #19235: Add new RecursionError exception. Patch by Georg Brandl.
This commit is contained in:
parent
27be130ec7
commit
f488fb422a
31 changed files with 101 additions and 69 deletions
|
@ -945,7 +945,7 @@ class ThreadingExceptionTests(BaseTestCase):
|
|||
def outer():
|
||||
try:
|
||||
recurse()
|
||||
except RuntimeError:
|
||||
except RecursionError:
|
||||
pass
|
||||
|
||||
w = threading.Thread(target=outer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue