[issue33613] test_multiprocessing_fork: test_semaphore_tracker_sigint() fails with -W error
Pablo Galindo Salgado
report at bugs.python.org
Sun Jun 24 09:55:43 EDT 2018
Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:
@taleinat Sadly, if the semaphore_tracker receives an invalid command, it raises and dies, making the test impossible:
cmd, name = line.strip().split(b':')
if cmd == b'REGISTER':
cache.add(name)
elif cmd == b'UNREGISTER':
cache.remove(name)
else:
raise RuntimeError('unrecognized command %r' % cmd)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33613>
_______________________________________
More information about the Python-bugs-list
mailing list