add changelog entry for some PRs: improvements to pytest's own

test-suite leakage detection, courtesy of PRs from Marc Abramowitz
This commit is contained in:
holger krekel 2014-04-02 09:51:24 +02:00
parent 21b4280126
commit 72b4534a0c
2 changed files with 4 additions and 1 deletions

View File

@ -32,6 +32,9 @@ NEXT (2.6)
against tests or setups changing FD1/FD2, also better integrated
now with pytest.pdb() in single tests.
- improvements to pytest's own test-suite leakage detection, courtesy of PRs
from Marc Abramowitz
2.5.2
-----------------------------------

View File

@ -57,7 +57,7 @@ def check_open_files(config):
open_files = [t for t in lines2 if t[0] in new_fds]
if open_files:
error = []
error.append("***** %s FD leackage detected" % len(open_files))
error.append("***** %s FD leakage detected" % len(open_files))
error.extend([str(f) for f in open_files])
error.append("*** Before:")
error.extend([str(f) for f in config._openfiles])