aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/profilee.py
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-04-06 11:08:25 +0100
committerGitHub <noreply@github.com>2023-04-06 11:08:25 +0100
commit482b6eeadcde3e6573f0d243e687de7be7680379 (patch)
tree293a6be3605658c75e0b398268180142af46d1da /Lib/test/profilee.py
parenta44568b80dfc494759d45db59423ed314bc70f9e (diff)
downloadcpython-482b6eeadcde3e6573f0d243e687de7be7680379.tar.gz
cpython-482b6eeadcde3e6573f0d243e687de7be7680379.zip
gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293)
Diffstat (limited to 'Lib/test/profilee.py')
-rw-r--r--Lib/test/profilee.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/profilee.py b/Lib/test/profilee.py
index 6ad2c839563..b6a090a2e34 100644
--- a/Lib/test/profilee.py
+++ b/Lib/test/profilee.py
@@ -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