1 new commit in pytest: https://bitbucket.org/hpk42/pytest/commits/6b38010df14c/ Changeset: 6b38010df14c User: hpk42 Date: 2014-09-22 13:02:48+00:00 Summary: Merged in davidszotten/pytest/stop_leaking_fds (pull request #206)
stop leaking file descriptors Affected #: 1 file diff -r f58d81b9d2c2e382ecdfcb09677f742f37a5840d -r 6b38010df14cc3c57c5034313a1edace19451d52 testing/test_capture.py --- a/testing/test_capture.py +++ b/testing/test_capture.py @@ -744,6 +744,7 @@ cap.done() pytest.raises(AttributeError, cap.suspend) + @contextlib.contextmanager def saved_fd(fd): new_fd = os.dup(fd) @@ -751,6 +752,7 @@ yield finally: os.dup2(new_fd, fd) + os.close(new_fd) class TestStdCapture: Repository URL: https://bitbucket.org/hpk42/pytest/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit