Skip to content

Conversation

NTFSvolume
Copy link
Contributor

@NTFSvolume NTFSvolume commented Feb 9, 2025

What do these changes do?

Make with_suffix only encode the new suffix instead of the entire name. The code is the same as with_name except that it only applies the quoter to the suffix, not the name.

Are there changes in behavior for the user?

Yes

Related issue number

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes

@psf-chronographer psf-chronographer bot added the bot:chronographer:provided There is a change note present in this PR label Feb 9, 2025
Copy link

codspeed-hq bot commented Feb 9, 2025

CodSpeed Performance Report

Merging #1468 will not alter performance

Comparing NTFSvolume:with_suffix_fix (005794e) with master (f73f47e)

Summary

✅ 99 untouched benchmarks

Copy link

codecov bot commented Feb 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.92%. Comparing base (f73f47e) to head (005794e).
Report is 47 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1468   +/-   ##
=======================================
  Coverage   98.91%   98.92%           
=======================================
  Files          32       32           
  Lines        6012     6045   +33     
  Branches      358      362    +4     
=======================================
+ Hits         5947     5980   +33     
  Misses         62       62           
  Partials        3        3           
Flag Coverage Δ
CI-GHA 98.92% <100.00%> (+<0.01%) ⬆️
MyPy 98.07% <97.22%> (+0.01%) ⬆️
OS-Linux 98.77% <88.88%> (-0.08%) ⬇️
OS-Windows 98.81% <88.88%> (-0.08%) ⬇️
OS-macOS 98.55% <88.88%> (-0.08%) ⬇️
Py-3.10.11 98.53% <88.88%> (-0.08%) ⬇️
Py-3.10.16 98.73% <88.88%> (-0.08%) ⬇️
Py-3.11.11 98.73% <88.88%> (-0.08%) ⬇️
Py-3.11.9 98.53% <88.88%> (-0.08%) ⬇️
Py-3.12.9 98.73% <88.88%> (-0.08%) ⬇️
Py-3.13.2 98.73% <88.88%> (-0.08%) ⬇️
Py-3.9.13 98.49% <88.88%> (-0.08%) ⬇️
Py-3.9.21 98.69% <88.88%> (-0.08%) ⬇️
Py-pypy7.3.16 98.68% <88.88%> (-0.08%) ⬇️
Py-pypy7.3.19 98.71% <88.88%> (-0.08%) ⬇️
VM-macos-latest 98.55% <88.88%> (-0.08%) ⬇️
VM-ubuntu-latest 98.77% <88.88%> (-0.08%) ⬇️
VM-windows-latest 98.81% <88.88%> (-0.08%) ⬇️
pytest 98.77% <88.88%> (-0.08%) ⬇️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@bdraco bdraco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @NTFSvolume

@bdraco bdraco merged commit 1dc46ab into aio-libs:master Apr 5, 2025
47 of 50 checks passed
@NTFSvolume NTFSvolume deleted the with_suffix_fix branch April 5, 2025 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot:chronographer:provided There is a change note present in this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

with_suffix always reencode entire name
2 participants