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
  Failed attempts to load Microsoft Appstore Python DLLs piyushd 0 394 Oct-31-2023, 10:43 AM
Last Post: piyushd
  How to test the high-score in my Python-game Pluviometer 2 547 Oct-02-2023, 06:55 PM
Last Post: deanhystad
  mysql.connector.errors.ProgrammingError: Failed processing format-parameters; Python ilknurg 3 5,463 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 3,064 Jul-03-2021, 10:07 AM
Last Post: Anldra12
  hello, i was trying a testdome python test twinstars2020 10 8,092 Aug-26-2020, 07:15 AM
Last Post: twinstars2020
  cannot build python 3.8.2 (make test fails on test_imprtlib) borabora 1 2,704 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 3,062 Feb-24-2020, 12:06 PM
Last Post: Larz60+
  How to write test cases by Unit test for database configuration file? binhduonggttn 0 2,511 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 10,064 Feb-11-2020, 01:27 PM
Last Post: jiapei100
  Failed to insert record into MySQL table.Python type tuple cannot be converted farah97 3 21,358 Dec-26-2019, 02:01 PM
Last Post: buran

Forum Jump:

User Panel Messages

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