generated from tophat/new-project-kit
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Syrupy is recognizing snapshot as not being used (4.0.1) #717
Labels
Comments
If I have time in the weekend I will have a look at this. I can only see 1 or 2 commits that change logic in between 4.0.0 and 4.0.1 |
#710 is the only change in 4.0.1. |
noahnu
pushed a commit
that referenced
this issue
Jun 19, 2023
noahnu
added a commit
that referenced
this issue
Jun 19, 2023
🎉 This issue has been resolved in version 4.0.4 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
This is probably a regression in the latest release. I didn't observe the behavior in 4.0.0:
json
extension), I get the expected behaviour:pytest --snapshot-update
(this is where the first signs of the bug is):Why does it output
Deleted ....
, that isn't the expected behaviour (the deletion doesn't happen though)3. Another follow up when running
pytest
:Again, that isn't correct. It gets worse though:
4.
pytest --snapshot-update
:This time the deletion will happen hence the next run of
pytest
will fail since it won't find a snapshot.Env:
Syrupy 4.0.1
Python 3.10
Going back to 4.0.0 solved the issue.
The text was updated successfully, but these errors were encountered: