Skip to content

Reset reference to failed test frame before each test executes#3384

Merged
nicoddemus merged 3 commits intopytest-dev:masterfrom
nicoddemus:leak-frame
Apr 12, 2018
Merged

Reset reference to failed test frame before each test executes#3384
nicoddemus merged 3 commits intopytest-dev:masterfrom
nicoddemus:leak-frame

Conversation

@nicoddemus
Copy link
Member

Fixes #2798. Not entirely because I was not able to remove the cyclic references which seem to be caused by the traceback objects being kept around; those cycles will be eventually be claimed by the garbage collector, at least (with the previous code that was not even possible).

@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 92.852% when pulling 6e8e3c9 on nicoddemus:leak-frame into e012dbe on pytest-dev:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants