New submission from Berker Peksag: Here's the traceback (tested on Ubuntu 12.04):
====================================================================== ERROR: testBCM (test.test_socket.CANTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/berker/projects/cpython-default/Lib/test/test_socket.py", line 231, in _setUp self.server_ready = threading.Event() AttributeError: 'NoneType' object has no attribute 'Event' ====================================================================== ERROR: testSendFrame (test.test_socket.CANTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/berker/projects/cpython-default/Lib/test/test_socket.py", line 231, in _setUp self.server_ready = threading.Event() AttributeError: 'NoneType' object has no attribute 'Event' ====================================================================== ERROR: testSendMaxFrame (test.test_socket.CANTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/berker/projects/cpython-default/Lib/test/test_socket.py", line 231, in _setUp self.server_ready = threading.Event() AttributeError: 'NoneType' object has no attribute 'Event' ====================================================================== ERROR: testSendMultiFrames (test.test_socket.CANTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/berker/projects/cpython-default/Lib/test/test_socket.py", line 231, in _setUp self.server_ready = threading.Event() AttributeError: 'NoneType' object has no attribute 'Event' ---------------------------------------------------------------------- Patch attached. ---------- components: Tests files: test_socket_thread.diff keywords: patch messages: 220339 nosy: berker.peksag priority: normal severity: normal stage: patch review status: open title: test_socket fails --without-threads type: behavior versions: Python 3.4, Python 3.5 Added file: http://bugs.python.org/file35593/test_socket_thread.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21730> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com