Skip to content

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

Merged
hugovk merged 1 commit into
python:3.15from
miss-islington:backport-e96cf73-3.15
Aug 27, 2026
Merged

[3.15] gh-67765: Add tests for wsgiref.validate (GH-112398)#155622
hugovk merged 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 e96cf73)

Co-authored-by: Amuthan Mannar <amuthanmannar4@gmail.com>
Co-authored-by: Alex Shkop <a.v.shkop@gmail.com>
@bedevere-app bedevere-app Bot added the tests Tests in the Lib/test dir label Aug 12, 2026
@hugovk
hugovk merged commit c15b6bf into python:3.15 Aug 27, 2026
57 checks passed
@miss-islington
miss-islington deleted the backport-e96cf73-3.15 branch August 27, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants