[pypy-commit] pypy default: Fix test.
arigo
noreply at buildbot.pypy.org
Sun Sep 18 12:27:31 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r47325:c702ce232ea0
Date: 2011-09-18 12:27 +0200
http://bitbucket.org/pypy/pypy/changeset/c702ce232ea0/
Log: Fix test.
diff --git a/pypy/rpython/memory/gctransform/test/test_framework.py b/pypy/rpython/memory/gctransform/test/test_framework.py
--- a/pypy/rpython/memory/gctransform/test/test_framework.py
+++ b/pypy/rpython/memory/gctransform/test/test_framework.py
@@ -139,7 +139,8 @@
cbuild = CStandaloneBuilder(t, entrypoint, t.config,
gcpolicy=FrameworkGcPolicy2)
f = py.test.raises(Exception, cbuild.generate_graphs_for_llinterp)
- assert str(f.value) == 'no_collect function can trigger collection: g'
+ expected = "'no_collect' function can trigger collection: <function g at "
+ assert str(f.value).startswith(expected)
class WriteBarrierTransformer(FrameworkGCTransformer):
clean_sets = {}
More information about the pypy-commit
mailing list