Skip to content

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

Merged
serhiy-storchaka merged 1 commit into
python:3.14from
serhiy-storchaka:backport-e96cf73-3.14
Aug 12, 2026
Merged

[3.14] gh-67765: Add tests for wsgiref.validate (GH-112398)#155624
serhiy-storchaka merged 1 commit into
python:3.14from
serhiy-storchaka:backport-e96cf73-3.14

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Aug 12, 2026

Copy link
Copy Markdown
Member

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

🤖 Generated with Claude Code

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.

Co-authored-by: Alex Shkop <a.v.shkop@gmail.com>
(cherry picked from commit e96cf73)
@bedevere-app bedevere-app Bot added the tests Tests in the Lib/test dir label Aug 12, 2026
@serhiy-storchaka
serhiy-storchaka merged commit 986c5b0 into python:3.14 Aug 12, 2026
53 checks passed
@serhiy-storchaka
serhiy-storchaka deleted the backport-e96cf73-3.14 branch August 12, 2026 13:56
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.

2 participants