Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
With tracemalloc enabled: $ ./python -X tracemalloc -m test -v test_logging -m test_should_not_rollover ... test_should_not_rollover (test.test_logging.TimedRotatingFileHandlerTest) ... /home/serhiy/py/cpython/Lib/unittest/case.py:547: ResourceWarning: unclosed file <_io.TextIOWrapper name='/dev/null' mode='a' encoding='utf-8'> if method() is not None: Object allocated at (most recent call last): File "/home/serhiy/py/cpython/Lib/logging/__init__.py", lineno 1205 return open_func(self.baseFilename, self.mode, ok ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45401> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com