[pypy-commit] pypy stm-gc: Fix test

arigo noreply at buildbot.pypy.org
Sun Apr 22 23:00:01 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: stm-gc
Changeset: r54630:0eb6503b3f3a
Date: 2012-04-22 20:39 +0200
http://bitbucket.org/pypy/pypy/changeset/0eb6503b3f3a/

Log:	Fix test

diff --git a/pypy/translator/stm/test/test_localtracker.py b/pypy/translator/stm/test/test_localtracker.py
--- a/pypy/translator/stm/test/test_localtracker.py
+++ b/pypy/translator/stm/test/test_localtracker.py
@@ -246,4 +246,5 @@
         assert name not in hop.rtyper.annotator.translator._seen_locals, (
             "duplicate name %r" % (name,))
         hop.rtyper.annotator.translator._seen_locals[name] = v
+        hop.exception_cannot_occur()
         return hop.inputconst(lltype.Void, None)


More information about the pypy-commit mailing list