Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python test failed
#1
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!
Reply
#2
did you check to see if the file existed?
This could be a permission error, and you may have to clone as administrator (sudo),
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  mysql.connector.errors.ProgrammingError: Failed processing format-parameters; Python ilknurg 3 2,143 Jan-18-2022, 06:25 PM
Last Post: ilknurg
  How to test and import a model form computer to test accuracy using Sklearn library Anldra12 6 2,143 Jul-03-2021, 10:07 AM
Last Post: Anldra12
  hello, i was trying a testdome python test twinstars2020 10 5,908 Aug-26-2020, 07:15 AM
Last Post: twinstars2020
  cannot build python 3.8.2 (make test fails on test_imprtlib) borabora 1 1,993 May-08-2020, 09:10 PM
Last Post: Larz60+
  How to write test cases for a init function by Unit test in python? binhduonggttn 2 2,400 Feb-24-2020, 12:06 PM
Last Post: Larz60+
  How to write test cases by Unit test for database configuration file? binhduonggttn 0 1,972 Feb-18-2020, 08:03 AM
Last Post: binhduonggttn
  Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesyste jiapei100 0 8,581 Feb-11-2020, 01:27 PM
Last Post: jiapei100
  Failed to insert record into MySQL table.Python type tuple cannot be converted farah97 3 17,324 Dec-26-2019, 02:01 PM
Last Post: buran
  new python package test ramkrishna 0 1,427 Feb-25-2019, 12:18 PM
Last Post: ramkrishna
  Mac OS 64 Python 2.7.3 Installation Failed jacksuyu 2 4,087 Jul-05-2018, 04:26 PM
Last Post: jacksuyu

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020