Inline-snapshot

Latest version: v0.20.2

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 8

0.13.4

Changed

- use tomli instead of toml (130)

<a id='changelog-0.13.3'></a>

0.13.3

Fixed

- removed non-optional dirty-equals dependency (118)

<a id='changelog-0.13.2'></a>

0.13.2

Changed

- star-expressions in list or dicts where never valid and cause a warning now.

other=[2]
assert [5,2]==snapshot([5,*other])


Fixed

- A snapshot which contains an dirty-equals expression can now be compared multiple times.

python
def test_something():
greeting = "hello"
for name in ["alex", "bob"]:
assert (name, greeting) == snapshot((IsString(), "hello"))

0.13.1

Fix

- Use tomllib instead of PyPI toml on Python 3.11 and later

0.13.0

Feat

- added extra.prints
- 3.13 support
- strings with one line-break at the end become no multiline strings

0.12.1

Fix

- add license to project metadata and some other fixes in pyproject.toml (104)

Page 4 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.