summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_stackviewer.py
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-03-19 16:19:59 (GMT)
committerGitHub <noreply@github.com>2023-03-19 16:19:59 (GMT)
commit4d1f033986675b883b9ff14588ae6ff78fdde313 (patch)
treec42dd8be1869a7347482ae210cbe7c76cdffa412 /Lib/idlelib/idle_test/test_stackviewer.py
parentccb5af7bfee59b72313ccf1fa2c9b0dca347ac96 (diff)
downloadcpython-4d1f033986675b883b9ff14588ae6ff78fdde313.zip
cpython-4d1f033986675b883b9ff14588ae6ff78fdde313.tar.gz
cpython-4d1f033986675b883b9ff14588ae6ff78fdde313.tar.bz2
gh-102778: revert changes to idlelib (#102825)
Diffstat (limited to 'Lib/idlelib/idle_test/test_stackviewer.py')
-rw-r--r--Lib/idlelib/idle_test/test_stackviewer.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/idlelib/idle_test/test_stackviewer.py b/Lib/idlelib/idle_test/test_stackviewer.py
index f4626bb..98f53f9 100644
--- a/Lib/idlelib/idle_test/test_stackviewer.py
+++ b/Lib/idlelib/idle_test/test_stackviewer.py
@@ -19,7 +19,6 @@ class StackBrowserTest(unittest.TestCase):
except NameError:
svs.last_type, svs.last_value, svs.last_traceback = (
sys.exc_info())
- svs.last_exc = svs.last_value
requires('gui')
cls.root = Tk()
@@ -28,7 +27,7 @@ class StackBrowserTest(unittest.TestCase):
@classmethod
def tearDownClass(cls):
svs = stackviewer.sys
- del svs.last_exc, svs.last_traceback, svs.last_type, svs.last_value
+ del svs.last_traceback, svs.last_type, svs.last_value
cls.root.update_idletasks()
## for id in cls.root.tk.call('after', 'info'):