This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients miss-islington, serhiy.storchaka, vinay.sajip, vstinner
Date 2021-10-10.20:30:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1633897820.45.0.275267388808.issue45401@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2021-10-10 20:30:20serhiy.storchakasetrecipients: + serhiy.storchaka, vinay.sajip, vstinner, miss-islington
2021-10-10 20:30:20serhiy.storchakasetmessageid: <1633897820.45.0.275267388808.issue45401@roundup.psfhosted.org>
2021-10-10 20:30:20serhiy.storchakalinkissue45401 messages
2021-10-10 20:30:20serhiy.storchakacreate