Pablo Galindo Salgado <[email protected]> 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 <[email protected]>
<https://bugs.python.org/issue33613>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com