[issue25654] test_multiprocessing_spawn ResourceWarning with -Werror
STINNER Victor
report at bugs.python.org
Thu Mar 24 20:27:48 EDT 2016
STINNER Victor added the comment:
Oh, with fixes for issues #21925 and #26637, test_multiprocessing_spawn started to fail:
http://buildbot.python.org/all/builders/AMD64%20Debian%20root%203.5/builds/727/steps/test/logs/stdio
======================================================================
FAIL: test_sys_exit (test.test_multiprocessing_spawn.WithProcessesTestSubclassingProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/buildarea/3.5.angelico-debian-amd64/build/Lib/test/_test_multiprocessing.py", line 483, in test_sys_exit
self.assertEqual(f.read().rstrip(), str(reason))
AssertionError: "[1, 2, 3]\nsys:1: ResourceWarning: unclo[67 chars]-8'>" != '[1, 2, 3]'
- [1, 2, 3]
? -
+ [1, 2, 3]- sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='/dev/null' mode='r' encoding='UTF-8'>
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25654>
_______________________________________
More information about the Python-bugs-list
mailing list