New submission from STINNER Victor <vstin...@python.org>:

$ ./python -m test test_subprocess -v
(...)
test_send_signal_race2 (test.test_subprocess.POSIXProcessTestCase) ... 
/home/vstinner/python/master/Lib/subprocess.py:1062: ResourceWarning: 
subprocess 137193 is still running
  _warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
ok

test_pipesize_default (test.test_subprocess.ProcessTestCase) ... 
/home/vstinner/python/master/Lib/unittest/case.py:549: ResourceWarning: 
unclosed file <_io.BufferedReader name=8>
  method()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/vstinner/python/master/Lib/unittest/case.py:549: ResourceWarning: 
unclosed file <_io.BufferedReader name=10>
  method()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
ok

test_pipesize_default (test.test_subprocess.ProcessTestCaseNoPoll) ... 
/home/vstinner/python/master/Lib/unittest/case.py:549: ResourceWarning: 
unclosed file <_io.BufferedReader name=8>
  method()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/vstinner/python/master/Lib/unittest/case.py:549: ResourceWarning: 
unclosed file <_io.BufferedReader name=10>
  method()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
ok
(...)

----------
components: Tests
messages: 389359
nosy: vstinner
priority: normal
severity: normal
status: open
title: test_subprocess logs multiple ResourceWarning warnings
versions: Python 3.10

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43598>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to