Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect put_header doctest (& re-enable the doctest) #274

Merged
merged 3 commits into from
Nov 29, 2023

Conversation

thbar
Copy link
Contributor

@thbar thbar commented Nov 19, 2023

I went through the doc during a work task and found that the put_header doc was still referencing "non-map" (pre 0.4) headers format.

Instead of just fixing it, I preferred to understand why the test was not failing in the first place, discovered that it was disabled, re-enabled it and fixed it.

Unsure if I missed something (re: Req.MixProject.legacy_headers_as_lists? in particular), or other motivations which may have lead to that specific doctest being disabled, so feel free to adapt!

@wojtekmach wojtekmach merged commit 05a6038 into wojtekmach:main Nov 29, 2023
2 checks passed
@wojtekmach
Copy link
Owner

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants