Python Forum

Full Version: Python test failed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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!
did you check to see if the file existed?
This could be a permission error, and you may have to clone as administrator (sudo),