Add changelog entry for #2798

This commit is contained in:
Bruno Oliveira 2018-04-10 21:07:34 -03:00
parent 78c900448e
commit 6e8e3c967a
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
Reset ``sys.last_type``, ``sys.last_value`` and ``sys.last_traceback`` before each test executes. Those attributes
are added by pytest during the test run to aid debugging, but were never reset so they would create a leaking
reference to the last failing test's frame which in turn could never be reclaimed by the garbage collector.