Anton Barkovsky <swarmer...@gmail.com> added the comment: The warning is printed by the file object when it closes itself in __del__:
ResourceWarning: unclosed file <_io.TextIOWrapper name='/dev/null' mode='r+' encoding='UTF-8'> There isn't much to test, or is there? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15447> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com