- Tests with failed snapshot comparisons now always result in a pytest `Error`, even if snapshots have been fixed or created.
<a id='changelog-0.20.6'></a>
0.20.6
Fixed
- Do not skip snapshots in conditional marked xfail tests. python pytest.mark.xfail(False, reason="...") def test_a(): assert 5 == snapshot(3) <- this will be fixed
pytest.mark.xfail(True, reason="...") def test_b(): assert 5 == snapshot(3) <- this not
<a id='changelog-0.20.5'></a>
0.20.5
Fixed
- correct normalization of "python3.9" to "python" in tests
<a id='changelog-0.20.4'></a>
0.20.4
Fixed
- Prevent a crash if a value cannot be copied and a UsageError is raised.
<a id='changelog-0.20.3'></a>
0.20.3
Fixed
- Use the black API directly to format python code. This solves issues with the upcomming click 8.2.0 (202) and problems in multithreading (https://github.com/15r10nk/inline-snapshot/pull/193#issuecomment-2660393512).
<a id='changelog-0.20.2'></a>
0.20.2
Fixed
- snapshots inside tests which are marked as xfail are now ignored (184)