Skip to content

Commit

Permalink
Add changelog entry for #2798
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Apr 11, 2018
1 parent 78c9004 commit 6e8e3c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelog/2798.bugfix.rst
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 6e8e3c9

Please sign in to comment.