{"diffoscope-json-version": 1, "source1": "/srv/reproducible-results/rbuild-debian/r-b-build.ayDBzDP3/b1/python-inline-snapshot_0.14.0-2_i386.changes", "source2": "/srv/reproducible-results/rbuild-debian/r-b-build.ayDBzDP3/b2/python-inline-snapshot_0.14.0-2_i386.changes", "unified_diff": null, "details": [{"source1": "Files", "source2": "Files", "unified_diff": "@@ -1,3 +1,3 @@\n \n- 7913e21839bef8c8d01bbc995b820e57 655936 doc optional python-inline-snapshot-doc_0.14.0-2_all.deb\n+ 6d9770101db16b54064b30c240df977f 655940 doc optional python-inline-snapshot-doc_0.14.0-2_all.deb\n 50eecb26435368b0db18a0c41dbfb6b8 28220 python optional python3-inline-snapshot_0.14.0-2_all.deb\n"}, {"source1": "python-inline-snapshot-doc_0.14.0-2_all.deb", "source2": "python-inline-snapshot-doc_0.14.0-2_all.deb", "unified_diff": null, "details": [{"source1": "file list", "source2": "file list", "unified_diff": "@@ -1,3 +1,3 @@\n -rw-r--r-- 0 0 0 4 2024-12-04 09:09:58.000000 debian-binary\n--rw-r--r-- 0 0 0 3024 2024-12-04 09:09:58.000000 control.tar.xz\n+-rw-r--r-- 0 0 0 3028 2024-12-04 09:09:58.000000 control.tar.xz\n -rw-r--r-- 0 0 0 652720 2024-12-04 09:09:58.000000 data.tar.xz\n"}, {"source1": "control.tar.xz", "source2": "control.tar.xz", "unified_diff": null, "details": [{"source1": "control.tar", "source2": "control.tar", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "comments": ["Files differ"], "unified_diff": null}]}]}]}, {"source1": "data.tar.xz", "source2": "data.tar.xz", "unified_diff": null, "details": [{"source1": "data.tar", "source2": "data.tar", "unified_diff": null, "details": [{"source1": "./usr/share/doc/python-inline-snapshot-doc/html/pytest.html", "source2": "./usr/share/doc/python-inline-snapshot-doc/html/pytest.html", "unified_diff": "@@ -967,16 +967,16 @@\n def test_something():\n assert 1 == snapshot()\n assert 2 <= snapshot(5)\n \n
\u001b[1;34m> pytest test_something.py --inline-snapshot=create,report\n \u001b[0m\u001b[1m============================= test session starts ==============================\u001b[0m\n platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0\n-rootdir: /tmp/tmp.BT68NEjeRY\n-plugins: inline-snapshot-0.14.0, time-machine-2.14.1, subtests-0.13.1, pytest_freezer-0.4.8, hypothesis-6.122.1, typeguard-4.4.1\n+rootdir: /tmp/tmp.MJjnsb33hH\n+plugins: time-machine-2.14.1, hypothesis-6.122.1, typeguard-4.4.1, pytest_freezer-0.4.8, subtests-0.13.1, inline-snapshot-0.14.0\n collected 1 item\n \n test_something.py \u001b[32m.\u001b[0m\u001b[32m                                                      [100%]\u001b[0m\n =============================== inline snapshot ================================\n \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 Create snapshots \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n +----------------------------- test_something.py ------------------------------+\n | @@ -2,5 +2,5 @@                                                              |\n@@ -1001,51 +1001,51 @@\n | +    assert 2 <= snapshot(2)                                                 |\n +------------------------------------------------------------------------------+\n These changes are not applied.\n Use --inline-snapshot=trim to apply them, or use the interactive mode with \n --inline-snapshot=review\n \n \n-\u001b[32m============================== \u001b[32m\u001b[1m1 passed\u001b[0m\u001b[32m in 0.15s\u001b[0m\u001b[32m ===============================\u001b[0m\n+\u001b[32m============================== \u001b[32m\u001b[1m1 passed\u001b[0m\u001b[32m in 0.25s\u001b[0m\u001b[32m ===============================\u001b[0m\n 
\n

--inline-snapshot=short-report

\n

give a short report over which changes can be made to the snapshots

\n
\u001b[1;34m> pytest test_something.py --inline-snapshot=short-report\n \u001b[0m\u001b[1m============================= test session starts ==============================\u001b[0m\n platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0\n-rootdir: /tmp/tmp.w0yUjBG7q9\n-plugins: inline-snapshot-0.14.0, time-machine-2.14.1, subtests-0.13.1, pytest_freezer-0.4.8, hypothesis-6.122.1, typeguard-4.4.1\n+rootdir: /tmp/tmp.5QGpQTwuz5\n+plugins: time-machine-2.14.1, hypothesis-6.122.1, typeguard-4.4.1, pytest_freezer-0.4.8, subtests-0.13.1, inline-snapshot-0.14.0\n collected 1 item\n \n test_something.py \u001b[32m.\u001b[0m\u001b[31mE\u001b[0m\u001b[31m                                                     [100%]\u001b[0m\n \n ==================================== ERRORS ====================================\n \u001b[31m\u001b[1m_____________________ ERROR at teardown of test_something ______________________\u001b[0m\n \u001b[0myour snapshot \u001b[95mis\u001b[39;49;00m missing one value.\u001b[90m\u001b[39;49;00m\n =============================== inline snapshot ================================\n Info: one snapshot can be trimmed (--inline-snapshot=trim)\n Error: one snapshot is missing a value (--inline-snapshot=create)\n \n You can also use --inline-snapshot=review to approve the changes interactively\n \u001b[36m\u001b[1m=========================== short test summary info ============================\u001b[0m\n \u001b[31mERROR\u001b[0m test_something.py::\u001b[1mtest_something\u001b[0m - Failed: your snapshot is missing one value.\n-\u001b[31m========================== \u001b[32m1 passed\u001b[0m, \u001b[31m\u001b[1m1 error\u001b[0m\u001b[31m in 0.16s\u001b[0m\u001b[31m ==========================\u001b[0m\n+\u001b[31m========================== \u001b[32m1 passed\u001b[0m, \u001b[31m\u001b[1m1 error\u001b[0m\u001b[31m in 0.34s\u001b[0m\u001b[31m ==========================\u001b[0m\n 
\n
\n

Info

\n

short-report exists mainly to show that snapshots have changed with enabled pytest assert-rewriting.\n This option will be replaced with report when this restriction is lifted.

\n
\n

--inline-snapshot=report

\n

Shows a diff report over which changes can be made to the snapshots

\n
\u001b[1;34m> pytest test_something.py --inline-snapshot=report\n \u001b[0m\u001b[1m============================= test session starts ==============================\u001b[0m\n platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0\n-rootdir: /tmp/tmp.Pt2ZD8C3Bg\n-plugins: inline-snapshot-0.14.0, time-machine-2.14.1, subtests-0.13.1, pytest_freezer-0.4.8, hypothesis-6.122.1, typeguard-4.4.1\n+rootdir: /tmp/tmp.wCNi3qoly4\n+plugins: time-machine-2.14.1, hypothesis-6.122.1, typeguard-4.4.1, pytest_freezer-0.4.8, subtests-0.13.1, inline-snapshot-0.14.0\n collected 1 item\n \n test_something.py \u001b[32m.\u001b[0m\u001b[31mE\u001b[0m\u001b[31m                                                     [100%]\u001b[0m\n \n ==================================== ERRORS ====================================\n \u001b[31m\u001b[1m_____________________ ERROR at teardown of test_something ______________________\u001b[0m\n \u001b[0myour snapshot \u001b[95mis\u001b[39;49;00m missing one value.\u001b[90m\u001b[39;49;00m\n@@ -1077,23 +1077,23 @@\n +------------------------------------------------------------------------------+\n These changes are not applied.\n Use --inline-snapshot=trim to apply them, or use the interactive mode with \n --inline-snapshot=review\n \n \u001b[36m\u001b[1m=========================== short test summary info ============================\u001b[0m\n \u001b[31mERROR\u001b[0m test_something.py::\u001b[1mtest_something\u001b[0m - Failed: your snapshot is missing one value.\n-\u001b[31m========================== \u001b[32m1 passed\u001b[0m, \u001b[31m\u001b[1m1 error\u001b[0m\u001b[31m in 0.17s\u001b[0m\u001b[31m ==========================\u001b[0m\n+\u001b[31m========================== \u001b[32m1 passed\u001b[0m, \u001b[31m\u001b[1m1 error\u001b[0m\u001b[31m in 0.31s\u001b[0m\u001b[31m ==========================\u001b[0m\n 
\n

--inline-snapshot=review

\n

Shows a diff report for each category and ask if you want to apply the changes

\n
\u001b[1;34m> pytest test_something.py --inline-snapshot=review\n \u001b[0m\u001b[1m============================= test session starts ==============================\u001b[0m\n platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0\n-rootdir: /tmp/tmp.JTkeDiJj4d\n-plugins: inline-snapshot-0.14.0, time-machine-2.14.1, subtests-0.13.1, pytest_freezer-0.4.8, hypothesis-6.122.1, typeguard-4.4.1\n+rootdir: /tmp/tmp.YnlexNOeKP\n+plugins: time-machine-2.14.1, hypothesis-6.122.1, typeguard-4.4.1, pytest_freezer-0.4.8, subtests-0.13.1, inline-snapshot-0.14.0\n collected 1 item\n \n test_something.py \u001b[32m.\u001b[0m\u001b[32m                                                      [100%]\u001b[0m\n =============================== inline snapshot ================================\n \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 Create snapshots \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n +----------------------------- test_something.py ------------------------------+\n | @@ -2,5 +2,5 @@                                                              |\n@@ -1114,15 +1114,15 @@\n |  def test_something():                                                       |\n |      assert 1 == snapshot(1)                                                 |\n | -    assert 2 <= snapshot(5)                                                 |\n | +    assert 2 <= snapshot(2)                                                 |\n +------------------------------------------------------------------------------+\n do you want to trim these snapshots? [y/n] (n): \n \n-\u001b[32m============================== \u001b[32m\u001b[1m1 passed\u001b[0m\u001b[32m in 0.15s\u001b[0m\u001b[32m ===============================\u001b[0m\n+\u001b[32m============================== \u001b[32m\u001b[1m1 passed\u001b[0m\u001b[32m in 0.33s\u001b[0m\u001b[32m ===============================\u001b[0m\n 
\n

--inline-snapshot=disable

\n

Disables all the snapshot logic. snapshot(x) will just return x.\n This can be used if you think exclude that snapshot logic causes a problem in your tests, or if you want to speedup your CI.

\n
\n

deprecation

\n

This option was previously called --inline-snapshot-disable

\n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -66,17 +66,17 @@\n def test_something():\n assert 1 == snapshot()\n assert 2 <= snapshot(5)\n [1;34m> pytest test_something.py --inline-snapshot=create,report\n [0m\u001b[1m============================= test session starts\n ==============================\u001b[0m\n platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0\n-rootdir: /tmp/tmp.BT68NEjeRY\n-plugins: inline-snapshot-0.14.0, time-machine-2.14.1, subtests-0.13.1,\n-pytest_freezer-0.4.8, hypothesis-6.122.1, typeguard-4.4.1\n+rootdir: /tmp/tmp.MJjnsb33hH\n+plugins: time-machine-2.14.1, hypothesis-6.122.1, typeguard-4.4.1,\n+pytest_freezer-0.4.8, subtests-0.13.1, inline-snapshot-0.14.0\n collected 1 item\n \n test_something.py \u001b[32m.\u001b[0m\u001b[32m\n [100%]\u001b[0m\n =============================== inline snapshot\n ================================\n \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 Create snapshots\n@@ -124,25 +124,25 @@\n +------------------------------------------------------------------------------\n +\n These changes are not applied.\n Use --inline-snapshot=trim to apply them, or use the interactive mode with\n --inline-snapshot=review\n \n \n-[32m============================== \u001b[32m\u001b[1m1 passed\u001b[0m\u001b[32m in 0.15s\u001b[0m\u001b[32m\n+[32m============================== \u001b[32m\u001b[1m1 passed\u001b[0m\u001b[32m in 0.25s\u001b[0m\u001b[32m\n ===============================\u001b[0m\n *\b**\b**\b**\b**\b* -\b--\b-i\bin\bnl\bli\bin\bne\be-\b-s\bsn\bna\bap\bps\bsh\bho\bot\bt=\b=s\bsh\bho\bor\brt\bt-\b-r\bre\bep\bpo\bor\brt\bt_\b?\b\u00b6 *\b**\b**\b**\b**\b*\n give a short report over which changes can be made to the snapshots\n [1;34m> pytest test_something.py --inline-snapshot=short-report\n [0m\u001b[1m============================= test session starts\n ==============================\u001b[0m\n platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0\n-rootdir: /tmp/tmp.w0yUjBG7q9\n-plugins: inline-snapshot-0.14.0, time-machine-2.14.1, subtests-0.13.1,\n-pytest_freezer-0.4.8, hypothesis-6.122.1, typeguard-4.4.1\n+rootdir: /tmp/tmp.5QGpQTwuz5\n+plugins: time-machine-2.14.1, hypothesis-6.122.1, typeguard-4.4.1,\n+pytest_freezer-0.4.8, subtests-0.13.1, inline-snapshot-0.14.0\n collected 1 item\n \n test_something.py \u001b[32m.\u001b[0m\u001b[31mE\u001b[0m\u001b[31m\n [100%]\u001b[0m\n \n ==================================== ERRORS\n ====================================\n@@ -156,28 +156,28 @@\n \n You can also use --inline-snapshot=review to approve the changes interactively\n [36m\u001b[1m=========================== short test summary info\n ============================\u001b[0m\n [31mERROR\u001b[0m test_something.py::\u001b[1mtest_something\u001b[0m - Failed: your snapshot\n is missing one value.\n [31m========================== \u001b[32m1 passed\u001b[0m, \u001b[31m\u001b[1m1 error\u001b[0m\u001b[31m in\n-0.16s\u001b[0m\u001b[31m ==========================\u001b[0m\n+0.34s\u001b[0m\u001b[31m ==========================\u001b[0m\n Info\n short-report exists mainly to show that snapshots have changed with enabled\n pytest assert-rewriting. This option will be replaced with r\bre\bep\bpo\bor\brt\bt when this\n restriction is lifted.\n *\b**\b**\b**\b**\b* -\b--\b-i\bin\bnl\bli\bin\bne\be-\b-s\bsn\bna\bap\bps\bsh\bho\bot\bt=\b=r\bre\bep\bpo\bor\brt\bt_\b?\b\u00b6 *\b**\b**\b**\b**\b*\n Shows a diff report over which changes can be made to the snapshots\n [1;34m> pytest test_something.py --inline-snapshot=report\n [0m\u001b[1m============================= test session starts\n ==============================\u001b[0m\n platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0\n-rootdir: /tmp/tmp.Pt2ZD8C3Bg\n-plugins: inline-snapshot-0.14.0, time-machine-2.14.1, subtests-0.13.1,\n-pytest_freezer-0.4.8, hypothesis-6.122.1, typeguard-4.4.1\n+rootdir: /tmp/tmp.wCNi3qoly4\n+plugins: time-machine-2.14.1, hypothesis-6.122.1, typeguard-4.4.1,\n+pytest_freezer-0.4.8, subtests-0.13.1, inline-snapshot-0.14.0\n collected 1 item\n \n test_something.py \u001b[32m.\u001b[0m\u001b[31mE\u001b[0m\u001b[31m\n [100%]\u001b[0m\n \n ==================================== ERRORS\n ====================================\n@@ -237,24 +237,24 @@\n --inline-snapshot=review\n \n [36m\u001b[1m=========================== short test summary info\n ============================\u001b[0m\n [31mERROR\u001b[0m test_something.py::\u001b[1mtest_something\u001b[0m - Failed: your snapshot\n is missing one value.\n [31m========================== \u001b[32m1 passed\u001b[0m, \u001b[31m\u001b[1m1 error\u001b[0m\u001b[31m in\n-0.17s\u001b[0m\u001b[31m ==========================\u001b[0m\n+0.31s\u001b[0m\u001b[31m ==========================\u001b[0m\n *\b**\b**\b**\b**\b* -\b--\b-i\bin\bnl\bli\bin\bne\be-\b-s\bsn\bna\bap\bps\bsh\bho\bot\bt=\b=r\bre\bev\bvi\bie\bew\bw_\b?\b\u00b6 *\b**\b**\b**\b**\b*\n Shows a diff report for each category and ask if you want to apply the changes\n [1;34m> pytest test_something.py --inline-snapshot=review\n [0m\u001b[1m============================= test session starts\n ==============================\u001b[0m\n platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0\n-rootdir: /tmp/tmp.JTkeDiJj4d\n-plugins: inline-snapshot-0.14.0, time-machine-2.14.1, subtests-0.13.1,\n-pytest_freezer-0.4.8, hypothesis-6.122.1, typeguard-4.4.1\n+rootdir: /tmp/tmp.YnlexNOeKP\n+plugins: time-machine-2.14.1, hypothesis-6.122.1, typeguard-4.4.1,\n+pytest_freezer-0.4.8, subtests-0.13.1, inline-snapshot-0.14.0\n collected 1 item\n \n test_something.py \u001b[32m.\u001b[0m\u001b[32m\n [100%]\u001b[0m\n =============================== inline snapshot\n ================================\n \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 Create snapshots\n@@ -298,15 +298,15 @@\n |\n | + assert 2 <= snapshot(2)\n |\n +------------------------------------------------------------------------------\n +\n do you want to trim these snapshots? [y/n] (n):\n \n-[32m============================== \u001b[32m\u001b[1m1 passed\u001b[0m\u001b[32m in 0.15s\u001b[0m\u001b[32m\n+[32m============================== \u001b[32m\u001b[1m1 passed\u001b[0m\u001b[32m in 0.33s\u001b[0m\u001b[32m\n ===============================\u001b[0m\n *\b**\b**\b**\b**\b* -\b--\b-i\bin\bnl\bli\bin\bne\be-\b-s\bsn\bna\bap\bps\bsh\bho\bot\bt=\b=d\bdi\bis\bsa\bab\bbl\ble\be_\b?\b\u00b6 *\b**\b**\b**\b**\b*\n Disables all the snapshot logic. snapshot(x) will just return x. This can be\n used if you think exclude that snapshot logic causes a problem in your tests,\n or if you want to speedup your CI.\n deprecation\n This option was previously called --inline-snapshot-disable\n"}]}, {"source1": "./usr/share/doc/python-inline-snapshot-doc/html/search/search_index.json", "source2": "./usr/share/doc/python-inline-snapshot-doc/html/search/search_index.json", "unified_diff": null, "details": [{"source1": "Pretty-printed", "source2": "Pretty-printed", "comments": ["Similarity: 0.9988425925925927%", "Differences: {\"'docs'\": \"{128: {'text': '

Approve the changes of the given category. These flags can be \"", " 'combined with report and review.

test_something.py
from inline_snapshot '", "           'import snapshot\\\\n\\\\n\\\\ndef test_something():\\\\n    assert 1 == snapshot()\\\\n    '", "           'assert 2 <= snapshot(5)\\\\n
\\\\x1b[1;34m> pytest '", "           'test_something.py '", "           '--inline-snapshot=create,report\\\\n\\\\x1b[0m\\\\x1b[1m============================= test '", " [\u2026]"], "unified_diff": "@@ -647,30 +647,30 @@\n         {\n             \"location\": \"pytest.html\",\n             \"text\": \"

inline-snapshot provides one pytest option with different flags (create, fix, trim, update, short-report, report, disable).

Snapshot comparisons return always True if you use one of the flags create, fix or review. This is necessary because the whole test needs to be run to fix all snapshots like in this case:

from inline_snapshot import snapshot\\n\\n\\ndef test_something():\\n    assert 1 == snapshot(5)\\n    assert 2 <= snapshot(5)\\n

Note

Every flag with the exception of disable and short-report disables the pytest assert-rewriting.

\",\n \"title\": \"pytest integration\"\n },\n {\n \"location\": \"pytest.html#-inline-snapshotcreatefixtrimupdate\",\n- \"text\": \"

Approve the changes of the given category. These flags can be combined with report and review.

test_something.py
from inline_snapshot import snapshot\\n\\n\\ndef test_something():\\n    assert 1 == snapshot()\\n    assert 2 <= snapshot(5)\\n
\\u001b[1;34m> pytest test_something.py --inline-snapshot=create,report\\n\\u001b[0m\\u001b[1m============================= test session starts ==============================\\u001b[0m\\nplatform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0\\nrootdir: /tmp/tmp.BT68NEjeRY\\nplugins: inline-snapshot-0.14.0, time-machine-2.14.1, subtests-0.13.1, pytest_freezer-0.4.8, hypothesis-6.122.1, typeguard-4.4.1\\ncollected 1 item\\n\\ntest_something.py \\u001b[32m.\\u001b[0m\\u001b[32m                                                      [100%]\\u001b[0m\\n=============================== inline snapshot ================================\\n\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 Create snapshots \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\n+----------------------------- test_something.py ------------------------------+\\n| @@ -2,5 +2,5 @@                                                              |\\n|                                                                              |\\n|                                                                              |\\n|                                                                              |\\n|  def test_something():                                                       |\\n| -    assert 1 == snapshot()                                                  |\\n| +    assert 1 == snapshot(1)                                                 |\\n|      assert 2 <= snapshot(5)                                                 |\\n+------------------------------------------------------------------------------+\\nThese changes will be applied, because you used --inline-snapshot=create\\n\\n\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 Trim snapshots \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\n+----------------------------- test_something.py ------------------------------+\\n| @@ -3,4 +3,4 @@                                                              |\\n|                                                                              |\\n|                                                                              |\\n|  def test_something():                                                       |\\n|      assert 1 == snapshot(1)                                                 |\\n| -    assert 2 <= snapshot(5)                                                 |\\n| +    assert 2 <= snapshot(2)                                                 |\\n+------------------------------------------------------------------------------+\\nThese changes are not applied.\\nUse --inline-snapshot=trim to apply them, or use the interactive mode with \\n--inline-snapshot=review\\n\\n\\n\\u001b[32m============================== \\u001b[32m\\u001b[1m1 passed\\u001b[0m\\u001b[32m in 0.15s\\u001b[0m\\u001b[32m ===============================\\u001b[0m\\n
\",\n+ \"text\": \"

Approve the changes of the given category. These flags can be combined with report and review.

test_something.py
from inline_snapshot import snapshot\\n\\n\\ndef test_something():\\n    assert 1 == snapshot()\\n    assert 2 <= snapshot(5)\\n
\\u001b[1;34m> pytest test_something.py --inline-snapshot=create,report\\n\\u001b[0m\\u001b[1m============================= test session starts ==============================\\u001b[0m\\nplatform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0\\nrootdir: /tmp/tmp.MJjnsb33hH\\nplugins: time-machine-2.14.1, hypothesis-6.122.1, typeguard-4.4.1, pytest_freezer-0.4.8, subtests-0.13.1, inline-snapshot-0.14.0\\ncollected 1 item\\n\\ntest_something.py \\u001b[32m.\\u001b[0m\\u001b[32m                                                      [100%]\\u001b[0m\\n=============================== inline snapshot ================================\\n\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 Create snapshots \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\n+----------------------------- test_something.py ------------------------------+\\n| @@ -2,5 +2,5 @@                                                              |\\n|                                                                              |\\n|                                                                              |\\n|                                                                              |\\n|  def test_something():                                                       |\\n| -    assert 1 == snapshot()                                                  |\\n| +    assert 1 == snapshot(1)                                                 |\\n|      assert 2 <= snapshot(5)                                                 |\\n+------------------------------------------------------------------------------+\\nThese changes will be applied, because you used --inline-snapshot=create\\n\\n\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 Trim snapshots \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\n+----------------------------- test_something.py ------------------------------+\\n| @@ -3,4 +3,4 @@                                                              |\\n|                                                                              |\\n|                                                                              |\\n|  def test_something():                                                       |\\n|      assert 1 == snapshot(1)                                                 |\\n| -    assert 2 <= snapshot(5)                                                 |\\n| +    assert 2 <= snapshot(2)                                                 |\\n+------------------------------------------------------------------------------+\\nThese changes are not applied.\\nUse --inline-snapshot=trim to apply them, or use the interactive mode with \\n--inline-snapshot=review\\n\\n\\n\\u001b[32m============================== \\u001b[32m\\u001b[1m1 passed\\u001b[0m\\u001b[32m in 0.25s\\u001b[0m\\u001b[32m ===============================\\u001b[0m\\n
\",\n \"title\": \"--inline-snapshot=create,fix,trim,update\"\n },\n {\n \"location\": \"pytest.html#-inline-snapshotshort-report\",\n- \"text\": \"

give a short report over which changes can be made to the snapshots

\\u001b[1;34m> pytest test_something.py --inline-snapshot=short-report\\n\\u001b[0m\\u001b[1m============================= test session starts ==============================\\u001b[0m\\nplatform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0\\nrootdir: /tmp/tmp.w0yUjBG7q9\\nplugins: inline-snapshot-0.14.0, time-machine-2.14.1, subtests-0.13.1, pytest_freezer-0.4.8, hypothesis-6.122.1, typeguard-4.4.1\\ncollected 1 item\\n\\ntest_something.py \\u001b[32m.\\u001b[0m\\u001b[31mE\\u001b[0m\\u001b[31m                                                     [100%]\\u001b[0m\\n\\n==================================== ERRORS ====================================\\n\\u001b[31m\\u001b[1m_____________________ ERROR at teardown of test_something ______________________\\u001b[0m\\n\\u001b[0myour snapshot \\u001b[95mis\\u001b[39;49;00m missing one value.\\u001b[90m\\u001b[39;49;00m\\n=============================== inline snapshot ================================\\nInfo: one snapshot can be trimmed (--inline-snapshot=trim)\\nError: one snapshot is missing a value (--inline-snapshot=create)\\n\\nYou can also use --inline-snapshot=review to approve the changes interactively\\n\\u001b[36m\\u001b[1m=========================== short test summary info ============================\\u001b[0m\\n\\u001b[31mERROR\\u001b[0m test_something.py::\\u001b[1mtest_something\\u001b[0m - Failed: your snapshot is missing one value.\\n\\u001b[31m========================== \\u001b[32m1 passed\\u001b[0m, \\u001b[31m\\u001b[1m1 error\\u001b[0m\\u001b[31m in 0.16s\\u001b[0m\\u001b[31m ==========================\\u001b[0m\\n

Info

short-report exists mainly to show that snapshots have changed with enabled pytest assert-rewriting. This option will be replaced with report when this restriction is lifted.

\",\n+ \"text\": \"

give a short report over which changes can be made to the snapshots

\\u001b[1;34m> pytest test_something.py --inline-snapshot=short-report\\n\\u001b[0m\\u001b[1m============================= test session starts ==============================\\u001b[0m\\nplatform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0\\nrootdir: /tmp/tmp.5QGpQTwuz5\\nplugins: time-machine-2.14.1, hypothesis-6.122.1, typeguard-4.4.1, pytest_freezer-0.4.8, subtests-0.13.1, inline-snapshot-0.14.0\\ncollected 1 item\\n\\ntest_something.py \\u001b[32m.\\u001b[0m\\u001b[31mE\\u001b[0m\\u001b[31m                                                     [100%]\\u001b[0m\\n\\n==================================== ERRORS ====================================\\n\\u001b[31m\\u001b[1m_____________________ ERROR at teardown of test_something ______________________\\u001b[0m\\n\\u001b[0myour snapshot \\u001b[95mis\\u001b[39;49;00m missing one value.\\u001b[90m\\u001b[39;49;00m\\n=============================== inline snapshot ================================\\nInfo: one snapshot can be trimmed (--inline-snapshot=trim)\\nError: one snapshot is missing a value (--inline-snapshot=create)\\n\\nYou can also use --inline-snapshot=review to approve the changes interactively\\n\\u001b[36m\\u001b[1m=========================== short test summary info ============================\\u001b[0m\\n\\u001b[31mERROR\\u001b[0m test_something.py::\\u001b[1mtest_something\\u001b[0m - Failed: your snapshot is missing one value.\\n\\u001b[31m========================== \\u001b[32m1 passed\\u001b[0m, \\u001b[31m\\u001b[1m1 error\\u001b[0m\\u001b[31m in 0.34s\\u001b[0m\\u001b[31m ==========================\\u001b[0m\\n

Info

short-report exists mainly to show that snapshots have changed with enabled pytest assert-rewriting. This option will be replaced with report when this restriction is lifted.

\",\n \"title\": \"--inline-snapshot=short-report\"\n },\n {\n \"location\": \"pytest.html#-inline-snapshotreport\",\n- \"text\": \"

Shows a diff report over which changes can be made to the snapshots

\\u001b[1;34m> pytest test_something.py --inline-snapshot=report\\n\\u001b[0m\\u001b[1m============================= test session starts ==============================\\u001b[0m\\nplatform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0\\nrootdir: /tmp/tmp.Pt2ZD8C3Bg\\nplugins: inline-snapshot-0.14.0, time-machine-2.14.1, subtests-0.13.1, pytest_freezer-0.4.8, hypothesis-6.122.1, typeguard-4.4.1\\ncollected 1 item\\n\\ntest_something.py \\u001b[32m.\\u001b[0m\\u001b[31mE\\u001b[0m\\u001b[31m                                                     [100%]\\u001b[0m\\n\\n==================================== ERRORS ====================================\\n\\u001b[31m\\u001b[1m_____________________ ERROR at teardown of test_something ______________________\\u001b[0m\\n\\u001b[0myour snapshot \\u001b[95mis\\u001b[39;49;00m missing one value.\\u001b[90m\\u001b[39;49;00m\\n=============================== inline snapshot ================================\\n\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 Create snapshots \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\n+----------------------------- test_something.py ------------------------------+\\n| @@ -2,5 +2,5 @@                                                              |\\n|                                                                              |\\n|                                                                              |\\n|                                                                              |\\n|  def test_something():                                                       |\\n| -    assert 1 == snapshot()                                                  |\\n| +    assert 1 == snapshot(1)                                                 |\\n|      assert 2 <= snapshot(5)                                                 |\\n+------------------------------------------------------------------------------+\\nThese changes are not applied.\\nUse --inline-snapshot=create to apply them, or use the interactive mode with \\n--inline-snapshot=review\\n\\n\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 Trim snapshots \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\n+----------------------------- test_something.py ------------------------------+\\n| @@ -3,4 +3,4 @@                                                              |\\n|                                                                              |\\n|                                                                              |\\n|  def test_something():                                                       |\\n|      assert 1 == snapshot()                                                  |\\n| -    assert 2 <= snapshot(5)                                                 |\\n| +    assert 2 <= snapshot(2)                                                 |\\n+------------------------------------------------------------------------------+\\nThese changes are not applied.\\nUse --inline-snapshot=trim to apply them, or use the interactive mode with \\n--inline-snapshot=review\\n\\n\\u001b[36m\\u001b[1m=========================== short test summary info ============================\\u001b[0m\\n\\u001b[31mERROR\\u001b[0m test_something.py::\\u001b[1mtest_something\\u001b[0m - Failed: your snapshot is missing one value.\\n\\u001b[31m========================== \\u001b[32m1 passed\\u001b[0m, \\u001b[31m\\u001b[1m1 error\\u001b[0m\\u001b[31m in 0.17s\\u001b[0m\\u001b[31m ==========================\\u001b[0m\\n
\",\n+ \"text\": \"

Shows a diff report over which changes can be made to the snapshots

\\u001b[1;34m> pytest test_something.py --inline-snapshot=report\\n\\u001b[0m\\u001b[1m============================= test session starts ==============================\\u001b[0m\\nplatform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0\\nrootdir: /tmp/tmp.wCNi3qoly4\\nplugins: time-machine-2.14.1, hypothesis-6.122.1, typeguard-4.4.1, pytest_freezer-0.4.8, subtests-0.13.1, inline-snapshot-0.14.0\\ncollected 1 item\\n\\ntest_something.py \\u001b[32m.\\u001b[0m\\u001b[31mE\\u001b[0m\\u001b[31m                                                     [100%]\\u001b[0m\\n\\n==================================== ERRORS ====================================\\n\\u001b[31m\\u001b[1m_____________________ ERROR at teardown of test_something ______________________\\u001b[0m\\n\\u001b[0myour snapshot \\u001b[95mis\\u001b[39;49;00m missing one value.\\u001b[90m\\u001b[39;49;00m\\n=============================== inline snapshot ================================\\n\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 Create snapshots \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\n+----------------------------- test_something.py ------------------------------+\\n| @@ -2,5 +2,5 @@                                                              |\\n|                                                                              |\\n|                                                                              |\\n|                                                                              |\\n|  def test_something():                                                       |\\n| -    assert 1 == snapshot()                                                  |\\n| +    assert 1 == snapshot(1)                                                 |\\n|      assert 2 <= snapshot(5)                                                 |\\n+------------------------------------------------------------------------------+\\nThese changes are not applied.\\nUse --inline-snapshot=create to apply them, or use the interactive mode with \\n--inline-snapshot=review\\n\\n\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 Trim snapshots \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\n+----------------------------- test_something.py ------------------------------+\\n| @@ -3,4 +3,4 @@                                                              |\\n|                                                                              |\\n|                                                                              |\\n|  def test_something():                                                       |\\n|      assert 1 == snapshot()                                                  |\\n| -    assert 2 <= snapshot(5)                                                 |\\n| +    assert 2 <= snapshot(2)                                                 |\\n+------------------------------------------------------------------------------+\\nThese changes are not applied.\\nUse --inline-snapshot=trim to apply them, or use the interactive mode with \\n--inline-snapshot=review\\n\\n\\u001b[36m\\u001b[1m=========================== short test summary info ============================\\u001b[0m\\n\\u001b[31mERROR\\u001b[0m test_something.py::\\u001b[1mtest_something\\u001b[0m - Failed: your snapshot is missing one value.\\n\\u001b[31m========================== \\u001b[32m1 passed\\u001b[0m, \\u001b[31m\\u001b[1m1 error\\u001b[0m\\u001b[31m in 0.31s\\u001b[0m\\u001b[31m ==========================\\u001b[0m\\n
\",\n \"title\": \"--inline-snapshot=report\"\n },\n {\n \"location\": \"pytest.html#-inline-snapshotreview\",\n- \"text\": \"

Shows a diff report for each category and ask if you want to apply the changes

\\u001b[1;34m> pytest test_something.py --inline-snapshot=review\\n\\u001b[0m\\u001b[1m============================= test session starts ==============================\\u001b[0m\\nplatform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0\\nrootdir: /tmp/tmp.JTkeDiJj4d\\nplugins: inline-snapshot-0.14.0, time-machine-2.14.1, subtests-0.13.1, pytest_freezer-0.4.8, hypothesis-6.122.1, typeguard-4.4.1\\ncollected 1 item\\n\\ntest_something.py \\u001b[32m.\\u001b[0m\\u001b[32m                                                      [100%]\\u001b[0m\\n=============================== inline snapshot ================================\\n\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 Create snapshots \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\n+----------------------------- test_something.py ------------------------------+\\n| @@ -2,5 +2,5 @@                                                              |\\n|                                                                              |\\n|                                                                              |\\n|                                                                              |\\n|  def test_something():                                                       |\\n| -    assert 1 == snapshot()                                                  |\\n| +    assert 1 == snapshot(1)                                                 |\\n|      assert 2 <= snapshot(5)                                                 |\\n+------------------------------------------------------------------------------+\\ndo you want to create these snapshots? [y/n] (n): \\n\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 Trim snapshots \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\n+----------------------------- test_something.py ------------------------------+\\n| @@ -3,4 +3,4 @@                                                              |\\n|                                                                              |\\n|                                                                              |\\n|  def test_something():                                                       |\\n|      assert 1 == snapshot(1)                                                 |\\n| -    assert 2 <= snapshot(5)                                                 |\\n| +    assert 2 <= snapshot(2)                                                 |\\n+------------------------------------------------------------------------------+\\ndo you want to trim these snapshots? [y/n] (n): \\n\\n\\u001b[32m============================== \\u001b[32m\\u001b[1m1 passed\\u001b[0m\\u001b[32m in 0.15s\\u001b[0m\\u001b[32m ===============================\\u001b[0m\\n
\",\n+ \"text\": \"

Shows a diff report for each category and ask if you want to apply the changes

\\u001b[1;34m> pytest test_something.py --inline-snapshot=review\\n\\u001b[0m\\u001b[1m============================= test session starts ==============================\\u001b[0m\\nplatform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0\\nrootdir: /tmp/tmp.YnlexNOeKP\\nplugins: time-machine-2.14.1, hypothesis-6.122.1, typeguard-4.4.1, pytest_freezer-0.4.8, subtests-0.13.1, inline-snapshot-0.14.0\\ncollected 1 item\\n\\ntest_something.py \\u001b[32m.\\u001b[0m\\u001b[32m                                                      [100%]\\u001b[0m\\n=============================== inline snapshot ================================\\n\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 Create snapshots \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\n+----------------------------- test_something.py ------------------------------+\\n| @@ -2,5 +2,5 @@                                                              |\\n|                                                                              |\\n|                                                                              |\\n|                                                                              |\\n|  def test_something():                                                       |\\n| -    assert 1 == snapshot()                                                  |\\n| +    assert 1 == snapshot(1)                                                 |\\n|      assert 2 <= snapshot(5)                                                 |\\n+------------------------------------------------------------------------------+\\ndo you want to create these snapshots? [y/n] (n): \\n\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500 Trim snapshots \\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\u2500\\n+----------------------------- test_something.py ------------------------------+\\n| @@ -3,4 +3,4 @@                                                              |\\n|                                                                              |\\n|                                                                              |\\n|  def test_something():                                                       |\\n|      assert 1 == snapshot(1)                                                 |\\n| -    assert 2 <= snapshot(5)                                                 |\\n| +    assert 2 <= snapshot(2)                                                 |\\n+------------------------------------------------------------------------------+\\ndo you want to trim these snapshots? [y/n] (n): \\n\\n\\u001b[32m============================== \\u001b[32m\\u001b[1m1 passed\\u001b[0m\\u001b[32m in 0.33s\\u001b[0m\\u001b[32m ===============================\\u001b[0m\\n
\",\n \"title\": \"--inline-snapshot=review\"\n },\n {\n \"location\": \"pytest.html#-inline-snapshotdisable\",\n \"text\": \"

Disables all the snapshot logic. snapshot(x) will just return x. This can be used if you think exclude that snapshot logic causes a problem in your tests, or if you want to speedup your CI.

deprecation

This option was previously called --inline-snapshot-disable

\",\n \"title\": \"--inline-snapshot=disable\"\n },\n"}]}]}]}]}]}