David D. Riddle added the comment: Here is another patch. I fixed a bug in GetLineTestsBadData.test_getline and refactored the code. I think everything is good now.
As for the ResourceWarnings they are not caused by linecache. The problem is with tokenize.open (See http://bugs.python.org/issue23840). ---------- Added file: http://bugs.python.org/file39295/mywork.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24054> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com