Skip to content

[3.15] gh-67765: Add tests for wsgiref.validate (GH-112398) - #155622

Open
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-e96cf73-3.15
Open

[3.15] gh-67765: Add tests for wsgiref.validate (GH-112398)#155622
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-e96cf73-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Cover the InputWrapper and ErrorWrapper methods of wsgiref.validate:
read, readline, readlines, iter, write, writelines and flush.
Each is tested both for the AssertionError raised on an invalid call
and for the data passed through on a valid one.
(cherry picked from commit e96cf73)

Co-authored-by: Amuthan Mannar amuthanmannar4@gmail.com
Co-authored-by: Alex Shkop a.v.shkop@gmail.com

Cover the InputWrapper and ErrorWrapper methods of wsgiref.validate:
read, readline, readlines, __iter__, write, writelines and flush.
Each is tested both for the AssertionError raised on an invalid call
and for the data passed through on a valid one.
(cherry picked from commit e96cf738e810df38531de0973f561ef9fc868e77)

Co-authored-by: Amuthan Mannar <amuthanmannar4@gmail.com>
Co-authored-by: Alex Shkop <a.v.shkop@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants