mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293)
This commit is contained in:
parent
a44568b80d
commit
482b6eeadc
12 changed files with 68 additions and 71 deletions
|
|
@ -79,7 +79,7 @@ def helper1():
|
|||
TICKS += 19
|
||||
lst = []
|
||||
lst.append(42) # 0
|
||||
sys.exc_info() # 0
|
||||
sys.exception() # 0
|
||||
|
||||
def helper2_indirect():
|
||||
helper2() # 50
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue