-
Couldn't load subscription status.
- Fork 199
Open
Description
webob-1.8.9 seems to fail one test for me with Python 3.14.0b1:
======================================================================================== FAILURES ========================================================================================
________________________________________________________________________________ test_interrupted_request ________________________________________________________________________________
req = <Request at 0x788ceeef06e0 POST http://localhost:57574/readline>
def _req_int_readline(req):
try:
> assert req.body_file.readline() == b'a=b\n'
req = <Request at 0x788ceeef06e0 POST http://localhost:57574/readline>
tests/test_in_wsgiref.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <LimitedLengthFile(<_io.BufferedReader name=-1>, maxlen=100000)>, buff = <memory at 0x788ceeef4340>
def readinto(self, buff):
if not self.remaining:
return 0
sz0 = min(len(buff), self.remaining)
data = self.file.read(sz0)
sz = len(data)
self.remaining -= sz
if sz < sz0 and self.remaining:
> raise DisconnectionError(
"The client disconnected while sending the body "
"(%d more bytes were expected)" % (self.remaining,)
)
E webob.request.DisconnectionError: The client disconnected while sending the body (89994 more bytes were expected)
buff = <memory at 0x788ceeef4340>
data = (b'a=b\nz=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
[...]
XFAIL tests/test_response.py::test_response_file_body_tell - Python 3.6 and up requires that rbo is seekable.
FAILED tests/test_in_wsgiref.py::test_interrupted_request - AssertionError: False disconnect alert
=========================================================== 1 failed, 2379 passed, 9 skipped, 1 xfailed, 48 warnings in 7.30s ============================================================
pytest-xprocess reminder::Be sure to terminate the started process by running 'pytest --xkill' if you have not explicitly done so in your fixture with 'xprocess.getinfo(<process_name>).terminate()'.
* ERROR: dev-python/webob-1.8.9::gentoo failed (test phase):
* pytest failed with python3.14
Metadata
Metadata
Assignees
Labels
No labels