Irit Katriel <iritkatr...@gmail.com> added the comment: % ./python.exe -We -m test -v test_logging -m test_compute_files_to_delete Raised RLIMIT_NOFILE: 256 -> 1024 == CPython 3.11.0a3+ (heads/main:9130a4d620, Dec 14 2021, 11:12:05) [Clang 13.0.0 (clang-1300.0.29.3)] == macOS-11.6-x86_64-i386-64bit little-endian == cwd: /Users/iritkatriel/src/cpython/build/test_python_86072æ == CPU count: 12 == encodings: locale=UTF-8, FS=utf-8 0:00:00 load avg: 5.20 Run tests sequentially 0:00:00 load avg: 5.20 [1/1] test_logging test_compute_files_to_delete (test.test_logging.TimedRotatingFileHandlerTest) ... Warning -- Unraisable exception Exception ignored in: <_io.FileIO name='/var/folders/kf/0v7kz3ps62dg11v9rq0sz35m0000gn/T/test_logging_w3nn9vsi/d.e.log' mode='ab' closefd=True> Traceback (most recent call last): File "/Users/iritkatriel/src/cpython/Lib/test/test_logging.py", line 5469, in test_compute_files_to_delete for i, prefix in enumerate(prefixes): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ResourceWarning: unclosed file <_io.TextIOWrapper name='/var/folders/kf/0v7kz3ps62dg11v9rq0sz35m0000gn/T/test_logging_w3nn9vsi/d.e.log' mode='a' encoding='UTF-8'> Warning -- Unraisable exception Exception ignored in: <_io.FileIO name='/var/folders/kf/0v7kz3ps62dg11v9rq0sz35m0000gn/T/test_logging_w3nn9vsi/a.b.c.log' mode='ab' closefd=True> Traceback (most recent call last): File "/Users/iritkatriel/src/cpython/Lib/test/test_logging.py", line 5469, in test_compute_files_to_delete for i, prefix in enumerate(prefixes): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ResourceWarning: unclosed file <_io.TextIOWrapper name='/var/folders/kf/0v7kz3ps62dg11v9rq0sz35m0000gn/T/test_logging_w3nn9vsi/a.b.c.log' mode='a' encoding='UTF-8'> Warning -- Unraisable exception Exception ignored in: <_io.FileIO name='/var/folders/kf/0v7kz3ps62dg11v9rq0sz35m0000gn/T/test_logging_w3nn9vsi/a.b.log' mode='ab' closefd=True> Traceback (most recent call last): File "/Users/iritkatriel/src/cpython/Lib/test/test_logging.py", line 5469, in test_compute_files_to_delete for i, prefix in enumerate(prefixes): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ResourceWarning: unclosed file <_io.TextIOWrapper name='/var/folders/kf/0v7kz3ps62dg11v9rq0sz35m0000gn/T/test_logging_w3nn9vsi/a.b.log' mode='a' encoding='UTF-8'> Warning -- Unraisable exception Exception ignored in: <_io.FileIO name='/var/folders/kf/0v7kz3ps62dg11v9rq0sz35m0000gn/T/test_logging_w3nn9vsi/d.e.f.log' mode='ab' closefd=True> Traceback (most recent call last): File "/Users/iritkatriel/src/cpython/Lib/test/test_logging.py", line 5469, in test_compute_files_to_delete for i, prefix in enumerate(prefixes): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ResourceWarning: unclosed file <_io.TextIOWrapper name='/var/folders/kf/0v7kz3ps62dg11v9rq0sz35m0000gn/T/test_logging_w3nn9vsi/d.e.f.log' mode='a' encoding='UTF-8'> ok
---------------------------------------------------------------------- Ran 1 test in 0.016s OK test_logging failed (env changed) == Tests result: SUCCESS == 1 test altered the execution environment: test_logging ---------- nosy: +iritkatriel _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46063> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com