Python Forum
Python test failed - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Python test failed (/thread-10022.html)



Python test failed - CodingMaster111 - May-09-2018

I cloned the CPython repo, and ran the tests as instructed in the devguide. All of them either passed or were skipped, but test_concurrent_futures failed with this error:

Error:
Exception in thread Thread-21: Traceback (most recent call last): File "/Users/NoahGSimon/Other Repositories/python/Lib/threading.py", line 917, in _bootstrap_inner self.run() File "/Users/NoahGSimon/Other Repositories/python/Lib/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/Users/NoahGSimon/Other Repositories/python/Lib/test/test_logging.py", line 776, in serve_forever asyncore.loop(poll_interval, map=self._map) File "/Users/NoahGSimon/Other Repositories/python/Lib/asyncore.py", line 203, in loop poll_fun(timeout, map) File "/Users/NoahGSimon/Other Repositories/python/Lib/asyncore.py", line 144, in poll r, w, e = select.select(r, w, e, timeout) OSError: [Errno 9] Bad file descriptor
Is this normal? Can I continue developing? Thanks!


RE: Python test failed - Larz60+ - May-09-2018

did you check to see if the file existed?
This could be a permission error, and you may have to clone as administrator (sudo),