[pypy-commit] pypy py3k: we get an additional frame here on py3
pjenvey
noreply at buildbot.pypy.org
Sun Apr 28 20:33:08 CEST 2013
Author: Philip Jenvey <pjenvey at underboss.org>
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
More information about the pypy-commit
mailing list