v0.16.0
Added
inline_snapshot.extra.warns
to captures warnings and compares them against expected warnings.def test_warns(): with warns(snapshot([(8, "UserWarning: some problem")]), include_line=True): warn("some problem")
Full Changelog: v0.15.1...v0.16.0