Author: Philip Jenvey <pjen...@underboss.org> Branch: stdlib-2.7.12 Changeset: r87528:cf46e241af85 Date: 2016-10-02 13:56 -0700 http://bitbucket.org/pypy/pypy/changeset/cf46e241af85/
Log: gc_collect here diff --git a/lib-python/2.7/test/test_exceptions.py b/lib-python/2.7/test/test_exceptions.py --- a/lib-python/2.7/test/test_exceptions.py +++ b/lib-python/2.7/test/test_exceptions.py @@ -6,7 +6,7 @@ import pickle, cPickle from test.test_support import (TESTFN, unlink, run_unittest, captured_stderr, - check_warnings, cpython_only) + check_warnings, cpython_only, gc_collect) from test.test_pep352 import ignore_deprecation_warnings class BrokenStrException(Exception): @@ -671,6 +671,7 @@ obj = test_class() with captured_stderr() as stderr: del obj + gc_collect() report = stderr.getvalue() self.assertRegexpMatches(report, "Exception.* ignored") if test_class is BrokenRepr: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit