New submission from Florent Xicluna <florent.xicl...@gmail.com>: The test fails randomly on POSIX platforms since r78527 (fixing issue #7242). The failure is in the new TestCase: TestForkInThread.
$ ./python -m test.regrtest -uall -R :: test_thread test_thread beginning 9 repetitions 123456789 Unhandled exception in thread started by <function thread1 at 0x26c3f78> Traceback (most recent call last): File "./Lib/test/test_thread.py", line 218, in thread1 os.close(self.write_fd) OSError: [Errno 9] Bad file descriptor .Unhandled exception in thread started by <function thread1 at 0x2863ae0> Traceback (most recent call last): File "./Lib/test/test_thread.py", line 218, in thread1 os.close(self.write_fd) OSError: [Errno 9] Bad file descriptor test test_thread failed -- Traceback (most recent call last): File "./Lib/test/test_thread.py", line 120, in test__count self.assertEquals(thread._count(), orig + 1) AssertionError: 1 != 2 1 test failed: test_thread Unhandled exception in thread started by Error in sys.excepthook: Original exception was: ---------- components: Library (Lib), Tests messages: 101350 nosy: flox, gregory.p.smith, pitrou priority: high severity: normal stage: needs patch status: open title: test_thread fails on POSIX type: behavior versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8178> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com