Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r63725:3f9b9be002c0
Date: 2013-04-28 11:32 -0700
http://bitbucket.org/pypy/pypy/changeset/3f9b9be002c0/
Log: we get an additional frame here on py3
diff --git a/pypy/objspace/std/test/test_proxy_internals.py
b/pypy/objspace/std/test/test_proxy_internals.py
--- a/pypy/objspace/std/test/test_proxy_internals.py
+++ b/pypy/objspace/std/test/test_proxy_internals.py
@@ -136,7 +136,7 @@
except:
e = sys.exc_info()
- assert traceback.format_tb(last_tb) == traceback.format_tb(e[2])
+ assert traceback.format_tb(last_tb) == traceback.format_tb(e[2])[1:]
def test_proxy_get(self):
from __pypy__ import tproxy, get_tproxy_controller
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit