[pypy-commit] pypy py3.7: those attributes are gone
cfbolz
pypy.commits at gmail.com
Thu Feb 6 11:15:12 EST 2020
Author: Carl Friedrich Bolz-Tereick <cfbolz at gmx.de>
Branch: py3.7
Changeset: r98674:11658ec64e92
Date: 2020-02-05 13:33 +0100
http://bitbucket.org/pypy/pypy/changeset/11658ec64e92/
Log: those attributes are gone
diff --git a/pypy/module/sys/test/test_sysmodule.py b/pypy/module/sys/test/test_sysmodule.py
--- a/pypy/module/sys/test/test_sysmodule.py
+++ b/pypy/module/sys/test/test_sysmodule.py
@@ -104,28 +104,6 @@
assert exc_val2 ==e2
assert tb2.tb_lineno - tb.tb_lineno == 6
- def test_dynamic_attributes(self):
- try:
- raise Exception
- except Exception as exc:
- e = exc
- import sys
- exc_type = sys.exc_type
- exc_val = sys.exc_value
- tb = sys.exc_traceback
- try:
- raise Exception # 8 lines below the previous one
- except Exception as exc:
- e2 = exc
- exc_type2 = sys.exc_type
- exc_val2 = sys.exc_value
- tb2 = sys.exc_traceback
- assert exc_type ==Exception
- assert exc_val ==e
- assert exc_type2 ==Exception
- assert exc_val2 ==e2
- assert tb2.tb_lineno - tb.tb_lineno == 8
-
def test_exc_info_normalization(self):
import sys
try:
More information about the pypy-commit
mailing list