Skip to content

Commit de77c97

Browse files
kulikjakwebknjaz
authored andcommitted
Declare _decref_socketios() in socket test stub
This fixes an old minor testing problem that has become evident with Python 3.13. Resolves #734
1 parent d00038e commit de77c97

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cheroot/test/test_makefile.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ def send(self, val):
3030
"""Simulate a send."""
3131
return len(val)
3232

33+
def _decref_socketios(self):
34+
"""Emulate socket I/O reference decrement."""
35+
# Ref: https://github.com/cherrypy/cheroot/issues/734
36+
3337

3438
def test_bytes_read():
3539
"""Reader should capture bytes read."""

0 commit comments

Comments
 (0)