Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test_ssl, test/profilee
  • Loading branch information
iritkatriel committed Apr 5, 2023
commit 93fb1919be1ddecbb19b946759481a026f3a1cd1
2 changes: 1 addition & 1 deletion Lib/test/profilee.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def wrapper(*args, **kw):


def handle_error(prefix):
exc_format = ' '.join(traceback.format_exception(*sys.exc_info()))
exc_format = ' '.join(traceback.format_exception(sys.exception()))
if support.verbose:
sys.stdout.write(prefix + exc_format)

Expand Down