2 new commits in pytest: https://bitbucket.org/hpk42/pytest/commits/bf25d089758b/ Changeset: bf25d089758b User: bubenkoff Date: 2014-01-23 01:24:59 Summary: revert merge Affected #: 1 file
diff -r fd5ac46aca5c1b5596f4acd0e91bd9236906c59c -r bf25d089758b4dcc64147c331c86ec12a5ceaf4b _pytest/python.py --- a/_pytest/python.py +++ b/_pytest/python.py @@ -938,12 +938,6 @@ This helper produces a ``py.code.ExceptionInfo()`` object. - Note that any local references made to such returned - ``py.code.ExceptionInfo()`` objects should be explicitly cleared, as they - are part of a reference cycle similar to local references to caught Python - exception objects. See the official Python ``try`` statement documentation - for more detailed information. - If using Python 2.5 or above, you may use this function as a context manager:: https://bitbucket.org/hpk42/pytest/commits/204b1dcb1973/ Changeset: 204b1dcb1973 User: bubenkoff Date: 2014-01-23 01:28:01 Summary: document explicitly clearing local references to pytest.raises() results Affected #: 1 file diff -r bf25d089758b4dcc64147c331c86ec12a5ceaf4b -r 204b1dcb1973fedeb5bf33f28b306467868ff566 _pytest/python.py --- a/_pytest/python.py +++ b/_pytest/python.py @@ -938,6 +938,12 @@ This helper produces a ``py.code.ExceptionInfo()`` object. + Note that any local references made to such returned + ``py.code.ExceptionInfo()`` objects should be explicitly cleared, as they + are part of a reference cycle similar to local references to caught Python + exception objects. See the official Python ``try`` statement documentation + for more detailed information. + If using Python 2.5 or above, you may use this function as a context manager:: Repository URL: https://bitbucket.org/hpk42/pytest/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit