Files
pytest2/_pytest
Bruno Oliveira 1130b9f742 Fix the stubborn test about cyclic references left by pytest.raises
In Python 2, a context manager's __exit__() leaves sys.exc_info with the exception values even when it was supposed
to suppress the exception, so we explicitly call sys.exc_clear() which removes the traceback and allow the object
to be released.

Also updated the test to not depend on the immediate destruction of the object but instead to ensure it is not being
tracked as a cyclic reference.

Fix #1965
2016-11-08 22:20:27 -02:00
..
2016-09-25 23:36:02 -03:00
2016-08-24 16:26:34 -07:00
2016-08-21 22:07:18 +02:00
2016-09-05 16:48:04 +08:00
2016-07-03 22:33:21 +02:00
2016-07-03 22:33:21 +02:00