{"diffoscope-json-version": 1, "source1": "/srv/reproducible-results/rbuild-debian/r-b-build.CFW5edpT/b1/python-inline-snapshot_0.19.3-1_arm64.changes", "source2": "/srv/reproducible-results/rbuild-debian/r-b-build.CFW5edpT/b2/python-inline-snapshot_0.19.3-1_arm64.changes", "unified_diff": null, "details": [{"source1": "Files", "source2": "Files", "unified_diff": "@@ -1,3 +1,3 @@\n \n- 8f7532ea037e6e5668503f8c55cfd575 535668 doc optional python-inline-snapshot-doc_0.19.3-1_all.deb\n+ db550d64cc391fad67555d23f73a6ee1 535668 doc optional python-inline-snapshot-doc_0.19.3-1_all.deb\n 3ddbc791df9158261eb361c3e0c89846 36476 python optional python3-inline-snapshot_0.19.3-1_all.deb\n"}, {"source1": "python-inline-snapshot-doc_0.19.3-1_all.deb", "source2": "python-inline-snapshot-doc_0.19.3-1_all.deb", "unified_diff": null, "details": [{"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": "@@ -969,15 +969,15 @@\n def test_something():\n assert 1 == snapshot()\n assert 2 <= snapshot(5)\n \n
> pytest test_something.py --inline-snapshot=create,report\n ============================= test session starts ==============================\n platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0\n-rootdir: /tmp/tmp.RUUC5q1xTx\n+rootdir: /tmp/tmp.cZ16eng4iC\n plugins: time-machine-2.16.0, subtests-0.13.1, mock-3.14.0, pytest_freezer-0.4.9, inline-snapshot-0.19.3, hypothesis-6.124.0, typeguard-4.4.1\n collected 1 item\n \n test_something.py .                                                      [100%]\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@@ -1010,15 +1010,15 @@\n ============================== 1 passed in 0.30s ===============================\n 
\n

--inline-snapshot=short-report

\n

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

\n
> pytest test_something.py --inline-snapshot=short-report\n ============================= test session starts ==============================\n platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0\n-rootdir: /tmp/tmp.QeESEA4gbe\n+rootdir: /tmp/tmp.Pig4SKljBc\n plugins: time-machine-2.16.0, subtests-0.13.1, mock-3.14.0, pytest_freezer-0.4.9, inline-snapshot-0.19.3, hypothesis-6.124.0, typeguard-4.4.1\n collected 1 item\n \n test_something.py .E                                                     [100%]\n \n ==================================== ERRORS ====================================\n _____________________ ERROR at teardown of test_something ______________________\n@@ -1026,27 +1026,27 @@\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 =========================== short test summary info ============================\n ERROR test_something.py::test_something - Failed: your snapshot is missing one value.\n-========================== 1 passed, 1 error in 0.22s ==========================\n+========================== 1 passed, 1 error in 0.51s ==========================\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
> pytest test_something.py --inline-snapshot=report\n ============================= test session starts ==============================\n platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0\n-rootdir: /tmp/tmp.qVAcYGPW4t\n+rootdir: /tmp/tmp.cwRETNol4y\n plugins: time-machine-2.16.0, subtests-0.13.1, mock-3.14.0, pytest_freezer-0.4.9, inline-snapshot-0.19.3, hypothesis-6.124.0, typeguard-4.4.1\n collected 1 item\n \n test_something.py .E                                                     [100%]\n \n ==================================== ERRORS ====================================\n _____________________ ERROR at teardown of test_something ______________________\n@@ -1079,22 +1079,22 @@\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 =========================== short test summary info ============================\n ERROR test_something.py::test_something - Failed: your snapshot is missing one value.\n-========================== 1 passed, 1 error in 0.23s ==========================\n+========================== 1 passed, 1 error in 0.24s ==========================\n 
\n

--inline-snapshot=review

\n

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

\n
> pytest test_something.py --inline-snapshot=review\n ============================= test session starts ==============================\n platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0\n-rootdir: /tmp/tmp.rPSb10ORmN\n+rootdir: /tmp/tmp.QohG4DplCA\n plugins: time-machine-2.16.0, subtests-0.13.1, mock-3.14.0, pytest_freezer-0.4.9, inline-snapshot-0.19.3, hypothesis-6.124.0, typeguard-4.4.1\n collected 1 item\n \n test_something.py .                                                      [100%]\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@@ -1116,15 +1116,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-============================== 1 passed in 0.23s ===============================\n+============================== 1 passed in 0.25s ===============================\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,15 +66,15 @@\n def test_something():\n assert 1 == snapshot()\n assert 2 <= snapshot(5)\n > pytest test_something.py --inline-snapshot=create,report\n ============================= test session starts\n ==============================\n platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0\n-rootdir: /tmp/tmp.RUUC5q1xTx\n+rootdir: /tmp/tmp.cZ16eng4iC\n plugins: time-machine-2.16.0, subtests-0.13.1, mock-3.14.0, pytest_freezer-\n 0.4.9, inline-snapshot-0.19.3, hypothesis-6.124.0, typeguard-4.4.1\n collected 1 item\n \n test_something.py . [100%]\n =============================== inline snapshot\n ================================\n@@ -131,15 +131,15 @@\n ===============================\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 > pytest test_something.py --inline-snapshot=short-report\n ============================= test session starts\n ==============================\n platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0\n-rootdir: /tmp/tmp.QeESEA4gbe\n+rootdir: /tmp/tmp.Pig4SKljBc\n plugins: time-machine-2.16.0, subtests-0.13.1, mock-3.14.0, pytest_freezer-\n 0.4.9, inline-snapshot-0.19.3, hypothesis-6.124.0, typeguard-4.4.1\n collected 1 item\n \n test_something.py .E [100%]\n \n ==================================== ERRORS\n@@ -153,27 +153,27 @@\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 =========================== short test summary info\n ============================\n ERROR test_something.py::test_something - Failed: your snapshot is missing one\n value.\n-========================== 1 passed, 1 error in 0.22s\n+========================== 1 passed, 1 error in 0.51s\n ==========================\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 > pytest test_something.py --inline-snapshot=report\n ============================= test session starts\n ==============================\n platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0\n-rootdir: /tmp/tmp.qVAcYGPW4t\n+rootdir: /tmp/tmp.cwRETNol4y\n plugins: time-machine-2.16.0, subtests-0.13.1, mock-3.14.0, pytest_freezer-\n 0.4.9, inline-snapshot-0.19.3, hypothesis-6.124.0, typeguard-4.4.1\n collected 1 item\n \n test_something.py .E [100%]\n \n ==================================== ERRORS\n@@ -233,23 +233,23 @@\n Use --inline-snapshot=trim to apply them, or use the interactive mode with\n --inline-snapshot=review\n \n =========================== short test summary info\n ============================\n ERROR test_something.py::test_something - Failed: your snapshot is missing one\n value.\n-========================== 1 passed, 1 error in 0.23s\n+========================== 1 passed, 1 error in 0.24s\n ==========================\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 > pytest test_something.py --inline-snapshot=review\n ============================= test session starts\n ==============================\n platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0\n-rootdir: /tmp/tmp.rPSb10ORmN\n+rootdir: /tmp/tmp.QohG4DplCA\n plugins: time-machine-2.16.0, subtests-0.13.1, mock-3.14.0, pytest_freezer-\n 0.4.9, inline-snapshot-0.19.3, hypothesis-6.124.0, typeguard-4.4.1\n collected 1 item\n \n test_something.py . [100%]\n =============================== inline snapshot\n ================================\n@@ -294,15 +294,15 @@\n |\n | + assert 2 <= snapshot(2)\n |\n +------------------------------------------------------------------------------\n +\n do you want to trim these snapshots? [y/n] (n):\n \n-============================== 1 passed in 0.23s\n+============================== 1 passed in 0.25s\n ===============================\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.9991039426523298%", "Differences: {\"'docs'\": \"{170: {'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
> pytest test_something.py '", "           '--inline-snapshot=create,report\\\\n============================= test session starts '", "           '============== [\u2026]"], "unified_diff": "@@ -857,30 +857,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
> pytest test_something.py --inline-snapshot=create,report\\n============================= test session starts ==============================\\nplatform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0\\nrootdir: /tmp/tmp.RUUC5q1xTx\\nplugins: time-machine-2.16.0, subtests-0.13.1, mock-3.14.0, pytest_freezer-0.4.9, inline-snapshot-0.19.3, hypothesis-6.124.0, typeguard-4.4.1\\ncollected 1 item\\n\\ntest_something.py .                                                      [100%]\\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============================== 1 passed in 0.30s ===============================\\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
> pytest test_something.py --inline-snapshot=create,report\\n============================= test session starts ==============================\\nplatform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0\\nrootdir: /tmp/tmp.cZ16eng4iC\\nplugins: time-machine-2.16.0, subtests-0.13.1, mock-3.14.0, pytest_freezer-0.4.9, inline-snapshot-0.19.3, hypothesis-6.124.0, typeguard-4.4.1\\ncollected 1 item\\n\\ntest_something.py .                                                      [100%]\\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============================== 1 passed in 0.30s ===============================\\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

> pytest test_something.py --inline-snapshot=short-report\\n============================= test session starts ==============================\\nplatform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0\\nrootdir: /tmp/tmp.QeESEA4gbe\\nplugins: time-machine-2.16.0, subtests-0.13.1, mock-3.14.0, pytest_freezer-0.4.9, inline-snapshot-0.19.3, hypothesis-6.124.0, typeguard-4.4.1\\ncollected 1 item\\n\\ntest_something.py .E                                                     [100%]\\n\\n==================================== ERRORS ====================================\\n_____________________ ERROR at teardown of test_something ______________________\\nyour snapshot is missing one value.\\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=========================== short test summary info ============================\\nERROR test_something.py::test_something - Failed: your snapshot is missing one value.\\n========================== 1 passed, 1 error in 0.22s ==========================\\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

> pytest test_something.py --inline-snapshot=short-report\\n============================= test session starts ==============================\\nplatform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0\\nrootdir: /tmp/tmp.Pig4SKljBc\\nplugins: time-machine-2.16.0, subtests-0.13.1, mock-3.14.0, pytest_freezer-0.4.9, inline-snapshot-0.19.3, hypothesis-6.124.0, typeguard-4.4.1\\ncollected 1 item\\n\\ntest_something.py .E                                                     [100%]\\n\\n==================================== ERRORS ====================================\\n_____________________ ERROR at teardown of test_something ______________________\\nyour snapshot is missing one value.\\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=========================== short test summary info ============================\\nERROR test_something.py::test_something - Failed: your snapshot is missing one value.\\n========================== 1 passed, 1 error in 0.51s ==========================\\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

> pytest test_something.py --inline-snapshot=report\\n============================= test session starts ==============================\\nplatform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0\\nrootdir: /tmp/tmp.qVAcYGPW4t\\nplugins: time-machine-2.16.0, subtests-0.13.1, mock-3.14.0, pytest_freezer-0.4.9, inline-snapshot-0.19.3, hypothesis-6.124.0, typeguard-4.4.1\\ncollected 1 item\\n\\ntest_something.py .E                                                     [100%]\\n\\n==================================== ERRORS ====================================\\n_____________________ ERROR at teardown of test_something ______________________\\nyour snapshot is missing one value.\\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=========================== short test summary info ============================\\nERROR test_something.py::test_something - Failed: your snapshot is missing one value.\\n========================== 1 passed, 1 error in 0.23s ==========================\\n
\",\n+ \"text\": \"

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

> pytest test_something.py --inline-snapshot=report\\n============================= test session starts ==============================\\nplatform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0\\nrootdir: /tmp/tmp.cwRETNol4y\\nplugins: time-machine-2.16.0, subtests-0.13.1, mock-3.14.0, pytest_freezer-0.4.9, inline-snapshot-0.19.3, hypothesis-6.124.0, typeguard-4.4.1\\ncollected 1 item\\n\\ntest_something.py .E                                                     [100%]\\n\\n==================================== ERRORS ====================================\\n_____________________ ERROR at teardown of test_something ______________________\\nyour snapshot is missing one value.\\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=========================== short test summary info ============================\\nERROR test_something.py::test_something - Failed: your snapshot is missing one value.\\n========================== 1 passed, 1 error in 0.24s ==========================\\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

> pytest test_something.py --inline-snapshot=review\\n============================= test session starts ==============================\\nplatform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0\\nrootdir: /tmp/tmp.rPSb10ORmN\\nplugins: time-machine-2.16.0, subtests-0.13.1, mock-3.14.0, pytest_freezer-0.4.9, inline-snapshot-0.19.3, hypothesis-6.124.0, typeguard-4.4.1\\ncollected 1 item\\n\\ntest_something.py .                                                      [100%]\\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============================== 1 passed in 0.23s ===============================\\n
\",\n+ \"text\": \"

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

> pytest test_something.py --inline-snapshot=review\\n============================= test session starts ==============================\\nplatform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0\\nrootdir: /tmp/tmp.QohG4DplCA\\nplugins: time-machine-2.16.0, subtests-0.13.1, mock-3.14.0, pytest_freezer-0.4.9, inline-snapshot-0.19.3, hypothesis-6.124.0, typeguard-4.4.1\\ncollected 1 item\\n\\ntest_something.py .                                                      [100%]\\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============================== 1 passed in 0.25s ===============================\\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"}]}]}]}]}]}