You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
β question about the decisions made in the repository
π Describe the bug. What is the current behavior?
When running the Cheroot test suite under Python 3.13, test_bytes_read and test_bytes_written fail with the following error (full trace below):
E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function IOBase.__del__ at 0x7fc35010e8e0>
E
E Traceback (most recent call last):
E File "/usr/lib/python3.13/_pyio.py", line 418, in __del__
E self.close()
E ~~~~~~~~~~^^
E File "/usr/lib/python3.13/_pyio.py", line 818, in close
E self.raw.close()
E ~~~~~~~~~~~~~~^^
E File "/usr/lib/python3.13/socket.py", line 789, in close
E self._sock._decref_socketios()
E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E AttributeError: 'MockSocket' object has no attribute '_decref_socketios'
β I'm submitting a ...
π Describe the bug. What is the current behavior?
When running the Cheroot test suite under Python 3.13,
test_bytes_read
andtest_bytes_written
fail with the following error (full trace below):My guess is that this is related the following io changes:
https://docs.python.org/3/whatsnew/3.13.html#io
π‘ To Reproduce
Run the test suite with Python 3.13.0.
π Details
Full traceback:
(
test_bytes_written
fails with pretty much the same one)π Environment
π Additional context
The following change fixed the issue for me:
The text was updated successfully, but these errors were encountered: