[pypy-commit] pypy kill-someobject: merge

fijal noreply at buildbot.pypy.org
Fri Oct 12 18:27:49 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: kill-someobject
Changeset: r58072:da5f9d700d45
Date: 2012-10-12 18:27 +0200
http://bitbucket.org/pypy/pypy/changeset/da5f9d700d45/

Log:	merge

diff --git a/pypy/translator/c/test/test_genc.py b/pypy/translator/c/test/test_genc.py
--- a/pypy/translator/c/test/test_genc.py
+++ b/pypy/translator/c/test/test_genc.py
@@ -138,10 +138,8 @@
             print '--------------'
             stderr, prevline, lastline, empty = stderr.rsplit('\n', 3)
             assert empty == ''
-            if lastline == 'Aborted':
-                lastline = prevline
-            assert lastline == ('Fatal RPython error: ' +
-                                expected_exception_name)
+            expected = 'Fatal RPython error: ' + expected_exception_name
+            assert lastline == expected or prevline == expected
             return None
 
         output(stdout)


More information about the pypy-commit mailing list