Skip to content

[PR #5344/bff76313 backport][3.10] Fix StreamResponse.prepared not returning True after EOF is sent#8893

Merged
Dreamsorcerer merged 1 commit into3.10from
patchback/backports/3.10/bff76313298d8b2c7539f9dc496801ee86ab7097/pr-5344
Aug 26, 2024
Merged

[PR #5344/bff76313 backport][3.10] Fix StreamResponse.prepared not returning True after EOF is sent#8893
Dreamsorcerer merged 1 commit into3.10from
patchback/backports/3.10/bff76313298d8b2c7539f9dc496801ee86ab7097/pr-5344

Conversation

@patchback
Copy link
Copy Markdown
Contributor

@patchback patchback bot commented Aug 26, 2024

This is a backport of PR #5344 as merged into master (bff7631).

Fixes #5343

I renamed a few tests (i think the prepared attribute used to be named started and the tests were not renamed?)
And I removed some asserts around prepare in a test___repr__ test - to move them to a dedicated test

@codecov
Copy link
Copy Markdown

codecov bot commented Aug 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.70%. Comparing base (f09f88d) to head (962b854).
Report is 219 commits behind head on 3.10.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             3.10    #8893   +/-   ##
=======================================
  Coverage   97.70%   97.70%           
=======================================
  Files         108      108           
  Lines       34205    34209    +4     
  Branches     4068     4068           
=======================================
+ Hits        33420    33424    +4     
  Misses        586      586           
  Partials      199      199           
Flag Coverage Δ
CI-GHA 97.60% <100.00%> (+<0.01%) ⬆️
OS-Linux 97.28% <100.00%> (+<0.01%) ⬆️
OS-Windows 94.82% <100.00%> (+<0.01%) ⬆️
OS-macOS 96.96% <100.00%> (+<0.01%) ⬆️
Py-3.10.11 97.05% <100.00%> (+<0.01%) ⬆️
Py-3.10.14 96.98% <100.00%> (+<0.01%) ⬆️
Py-3.11.9 97.21% <100.00%> (+<0.01%) ⬆️
Py-3.12.4 94.62% <100.00%> (+<0.01%) ⬆️
Py-3.12.5 97.02% <100.00%> (+<0.01%) ⬆️
Py-3.8.10 94.46% <100.00%> (+<0.01%) ⬆️
Py-3.8.18 96.79% <100.00%> (+<0.01%) ⬆️
Py-3.9.13 96.95% <100.00%> (+<0.01%) ⬆️
Py-3.9.19 96.89% <100.00%> (+<0.01%) ⬆️
Py-pypy7.3.16 96.48% <100.00%> (-0.01%) ⬇️
VM-macos 96.96% <100.00%> (+<0.01%) ⬆️
VM-ubuntu 97.28% <100.00%> (+<0.01%) ⬆️
VM-windows 94.82% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Dreamsorcerer Dreamsorcerer merged commit b78cef3 into 3.10 Aug 26, 2024
@Dreamsorcerer Dreamsorcerer deleted the patchback/backports/3.10/bff76313298d8b2c7539f9dc496801ee86ab7097/pr-5344 branch August 26, 2024 14:16
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