-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
assorted code updates and f string migrations #12017
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
Merged
RonnyPfannschmidt
merged 16 commits into
pytest-dev:main
from
RonnyPfannschmidt:ronny-ruff-upgrade
Mar 11, 2025
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
c163a2b
chore: setuponly - migrate to f string
RonnyPfannschmidt c48bb32
chore: MockTiming - move impl to _pytest.timing
RonnyPfannschmidt 524639e
chore: fixture tests: migrate to f-strings
RonnyPfannschmidt f55207a
chore: skipping tests: migrate to f-strings
RonnyPfannschmidt 0a4f394
chore: junitxml tests: add more type annotations
RonnyPfannschmidt 1e8baee
chore: junitxml tests: introduce more typesafe helpers
RonnyPfannschmidt 865cb4f
add changelog
RonnyPfannschmidt 674ec71
test junitxml: split the DomNode type to express the Document/Element…
RonnyPfannschmidt 83762c5
fixup: undo accidential name-mangling in the junitxml test helpers
RonnyPfannschmidt 599604a
fixup: junitxml logging test - restore validation for expected output…
RonnyPfannschmidt 07cff2f
fixup: have fake config .getini use correct types
RonnyPfannschmidt 6b81d3f
Update changelog/12017.improvement.rst
RonnyPfannschmidt e008801
use contrib category for changelog
RonnyPfannschmidt 16ec43a
use datetime.fromisoformat instead of strptime
RonnyPfannschmidt 9cad2d7
post rebase ruff fixes
RonnyPfannschmidt f5de7c1
add extra coverage for junit test helpers
RonnyPfannschmidt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Mixed internal improvements: | ||
|
||
* Migrate formatting to f-strings in some tests. | ||
* Use type-safe constructs in JUnitXML tests. | ||
* Moved`` MockTiming`` into ``_pytest.timing``. | ||
|
||
-- by :user:`RonnyPfannschmidt` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.