[pypy-commit] pypy default: Restore the name 'tzdescr' here, as used by locals(). The tests use it,
arigo
noreply at buildbot.pypy.org
Wed Apr 17 16:11:37 CEST 2013
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r63446:2b6749fd7c8f
Date: 2013-04-17 15:39 +0200
http://bitbucket.org/pypy/pypy/changeset/2b6749fd7c8f/
Log: Restore the name 'tzdescr' here, as used by locals(). The tests use
it, but pass anyway if it's missing -- probably because parse()
replaces missing descrs with None, which is (I think) useful when
parsing log files.
diff --git a/rpython/jit/backend/llsupport/test/test_rewrite.py b/rpython/jit/backend/llsupport/test/test_rewrite.py
--- a/rpython/jit/backend/llsupport/test/test_rewrite.py
+++ b/rpython/jit/backend/llsupport/test/test_rewrite.py
@@ -34,7 +34,7 @@
('t', lltype.Signed))
tdescr = get_size_descr(self.gc_ll_descr, T)
tdescr.tid = 5678
- get_field_descr(self.gc_ll_descr, T, 'z')
+ tzdescr = get_field_descr(self.gc_ll_descr, T, 'z')
#
A = lltype.GcArray(lltype.Signed)
adescr = get_array_descr(self.gc_ll_descr, A)
More information about the pypy-commit
mailing list