feat: add SingleFileAmberSnapshotExtension as a single-file variant of the default amber extension#959
Merged
feat: add SingleFileAmberSnapshotExtension as a single-file variant of the default amber extension#959
Conversation
…f the default amber extension
Codecov ReportAttention: Patch coverage is @@ Coverage Diff @@
## next #959 +/- ##
==========================================
- Coverage 97.61% 97.40% -0.22%
==========================================
Files 21 21
Lines 1637 1658 +21
==========================================
+ Hits 1598 1615 +17
- Misses 39 43 +4 |
There was a problem hiding this comment.
Benchmark
Details
| Benchmark suite | Current: f155cbc | Previous: 7fdffd9 | Ratio |
|---|---|---|---|
benchmarks/test_1000x.py::test_1000x_reads |
0.8074905235685866 iter/sec (stddev: 0.04799196335055799) |
0.791293207258563 iter/sec (stddev: 0.07167662396936088) |
0.98 |
benchmarks/test_1000x.py::test_1000x_writes |
0.7228814202149865 iter/sec (stddev: 0.21615704274867284) |
0.7056598497565947 iter/sec (stddev: 0.23696319708989552) |
0.98 |
benchmarks/test_standard.py::test_standard |
0.7338608760245143 iter/sec (stddev: 0.05783119116626678) |
0.7288381306864072 iter/sec (stddev: 0.09187540514725986) |
0.99 |
This comment was automatically generated by workflow using github-action-benchmark.
noahnu
added a commit
that referenced
this pull request
Mar 8, 2025
…f the default amber extension (#959)
samylaumonier
pushed a commit
to samylaumonier/syrupy
that referenced
this pull request
Mar 9, 2025
# [4.9.0](syrupy-project/syrupy@v4.8.3...v4.9.0) (2025-03-08) ### Bug Fixes * **serializer:** raise TypeError when serializing non-byte like object in binary mode ([syrupy-project#951](syrupy-project#951)) ([2bd0f54](syrupy-project@2bd0f54)) ### Features * add --snapshot-ignore-file-extensions argument to support DVC ([syrupy-project#943](syrupy-project#943)) ([056cc6e](syrupy-project@056cc6e)) * add compose_matchers utility for composing 1 or more matchers ([syrupy-project#952](syrupy-project#952)) ([157dbec](syrupy-project@157dbec)) * add SingleFileAmberSnapshotExtension as a single-file variant of the default amber extension ([syrupy-project#959](syrupy-project#959)) ([a753b7a](syrupy-project@a753b7a)) * include details about created/updated snapshots in detailed report ([syrupy-project#942](syrupy-project#942)) ([25d37ef](syrupy-project@25d37ef))
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #837