daler/pybedtools — pull request #117 by gpratt (2014-10-08 00:00:44+00:00)
Title: Fix for leaky len call

I noticed that len was leaking file descriptors again. This fix should work when just opening a file and getting its length.

I also modified your old tests for finding leaky files to run and fail automatically instead of having to do it manually.