mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
gh-102799: use exception instance instead of sys.exc_info() (#102885)
This commit is contained in:
parent
c1e71ce56f
commit
44bd3fe570
7 changed files with 16 additions and 17 deletions
|
@ -430,7 +430,7 @@ class TestInterpreterStack(IsTestBase):
|
|||
git.abuse(7, 8, 9)
|
||||
|
||||
def test_abuse_done(self):
|
||||
self.istest(inspect.istraceback, 'git.ex[2]')
|
||||
self.istest(inspect.istraceback, 'git.ex.__traceback__')
|
||||
self.istest(inspect.isframe, 'mod.fr')
|
||||
|
||||
def test_stack(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue